Fixed broken pc-build caused by the power commit.
This commit is contained in:
parent
8b86b36393
commit
40e971ba99
@ -18,7 +18,7 @@ define bin2o
|
||||
echo "extern const u32" `(echo $(<F) | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo $(<F) | tr . _)`.h
|
||||
endef
|
||||
|
||||
test : pc_main/main.cpp pc_main/pc_launch.c \
|
||||
test : pc_main/main.cpp pc_main/pc_launch.c pc_main/pc_power.c \
|
||||
common/menu.c common/font.c common/language.c common/launch.c \
|
||||
common/menu-entry.c common/menu-list.c common/message-box.c common/text.c \
|
||||
common/ui.c common/math.c common/theme.c \
|
||||
|
@ -8,8 +8,8 @@ void powerExit(void) {
|
||||
|
||||
}
|
||||
|
||||
bool powerGetDetails(uint32_t *batteryCharge, bool *isCharging)
|
||||
bool powerGetDetails(uint32_t *batteryCharge, bool *isCharging) {
|
||||
*isCharging = false;
|
||||
*batteryCharge = 100;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user