mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-18 23:53:23 +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
19 lines
368 B
C
19 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
|