Fixed broken pc-build caused by the power commit.

This commit is contained in:
yellows8 2018-10-09 18:48:45 -04:00
parent 8b86b36393
commit 40e971ba99
2 changed files with 3 additions and 3 deletions

View File

@ -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 \

View File

@ -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;
}
}