diff options
Diffstat (limited to 'board/host/board.c')
-rw-r--r-- | board/host/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/host/board.c b/board/host/board.c index 80ac631d19..39bf49a9ed 100644 --- a/board/host/board.c +++ b/board/host/board.c @@ -4,6 +4,7 @@ */ /* Emulator board-specific configuration */ +#include "battery.h" #include "button.h" #include "extpower.h" #include "gpio.h" @@ -28,6 +29,11 @@ #include "gpio_list.h" +test_mockable enum battery_present battery_is_present(void) +{ + return BP_YES; +} + test_mockable_static int dummy_temp_get_val(int idx, int *temp_ptr) { *temp_ptr = 0; |