432b1df3e4
Conflicts: common.mk common/action.c common/avr/suspend.c common/command.c common/keyboard.c keyboard/gh60/Makefile keyboard/gh60/Makefile.pjrc
19 lines
331 B
C
19 lines
331 B
C
#ifndef SUSPEND_H
|
|
#define SUSPEND_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
|
|
void suspend_idle(uint8_t timeout);
|
|
void suspend_power_down(void);
|
|
bool suspend_wakeup_condition(void);
|
|
void suspend_wakeup_init(void);
|
|
|
|
#ifdef SUSPEND_ACTION
|
|
void suspend_power_down_action(void);
|
|
void suspend_wakeup_init_action(void);
|
|
#endif
|
|
|
|
#endif
|