diff options
-rw-r--r-- | board/lazor/board.h | 7 | ||||
-rw-r--r-- | driver/ln9310.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/board/lazor/board.h b/board/lazor/board.h index 47e5574ded..46e9c7b7dd 100644 --- a/board/lazor/board.h +++ b/board/lazor/board.h @@ -114,6 +114,13 @@ enum battery_type { BATTERY_TYPE_COUNT, }; +/* Battery cell type */ +enum battery_cell_type { + BATTERY_CELL_TYPE_UNKNOWN = 0, + BATTERY_CELL_TYPE_2S = 2, + BATTERY_CELL_TYPE_3S = 3 +}; + /* Swithcap functions */ void board_set_switchcap_power(int enable); int board_is_switchcap_enabled(void); diff --git a/driver/ln9310.h b/driver/ln9310.h index 34cf5fffea..4cdcb156f5 100644 --- a/driver/ln9310.h +++ b/driver/ln9310.h @@ -167,13 +167,6 @@ /* LN9310 Timing definition */ #define LN9310_CDC_DELAY 120 /* 120us */ -/* Battery cell type */ -enum battery_cell_type { - BATTERY_CELL_TYPE_UNKNOWN = 0, - BATTERY_CELL_TYPE_2S = 2, - BATTERY_CELL_TYPE_3S = 3 -}; - /* Define configuration of LN9310 part */ struct ln9310_config_t { const int i2c_port; |