diff --git a/src/board/system76/lemp9/board.c b/src/board/system76/lemp9/board.c index 51707c7..2e4d5c3 100644 --- a/src/board/system76/lemp9/board.c +++ b/src/board/system76/lemp9/board.c @@ -2,9 +2,6 @@ #include #include -#include - -extern uint8_t main_cycle; void board_init(void) { // Allow CPU to boot @@ -25,13 +22,6 @@ void board_init(void) { gpio_set(&SWI_N, true); } -void board_event(void) { - if (main_cycle == 0) { - if (power_state == POWER_STATE_S0 || power_state == POWER_STATE_S3 || power_state == POWER_STATE_DS3) { - // System is on - } else if (gpio_get(&ACIN_N)) { - // Power off VDD3 if system should be off - gpio_set(&XLP_OUT, 0); - } - } -} +void board_on_ac(bool ac) { /* Fix unused variable */ ac = ac; } + +void board_event(void) {}