mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
power/battery: fake gauge support for rpmsg communication
realize a fake gauge to support powermanger Signed-off-by: yezhonghui <yezhonghui@xiaomi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
dba108ae5c
commit
db7f292709
@@ -92,4 +92,8 @@ if(CONFIG_GOLDFISH_BATTERY)
|
||||
list(APPEND SRCS goldfish_battery.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_BATTERY_FAKE_GAUGE)
|
||||
list(APPEND SRCS battery_fakegauge.c)
|
||||
endif()
|
||||
|
||||
target_sources(drivers PRIVATE ${SRCS})
|
||||
|
||||
Reference in New Issue
Block a user