Refactor lid switch, disable power button when lid closed and AC disconnected

This commit is contained in:
Jeremy Soller
2020-02-04 13:33:39 -07:00
parent 2388892649
commit d2591be256
14 changed files with 178 additions and 135 deletions

View File

@@ -0,0 +1,11 @@
#ifndef _BOARD_LID_H
#define _BOARD_LID_H
#include <stdbool.h>
extern bool lid_state;
extern bool lid_wake;
void lid_event(void);
#endif // _BOARD_LID_H