mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 10:39:09 +00:00
cb91320d6d
* Add suspend functions * Disable RGB code if it's disabled * Add suspend code to ChibiOS for future compatibility * Add keyboard_init functions * Change where references so it will compile * Wrong command chained in wake up kb function * Fix non-feature file changes * Add documentation * Re-add matrix init docs * add rgblight code to example * Remove keyboard init stuff for separate PR
18 lines
368 B
C
18 lines
368 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);
|
|
|
|
void suspend_wakeup_init_user(void);
|
|
void suspend_wakeup_init_kb(void);
|
|
void suspend_power_down_user (void);
|
|
void suspend_power_down_kb(void);
|
|
|
|
#endif
|