summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-02-04 18:10:00 +0000
committerGitHub <noreply@github.com>2022-02-05 05:10:00 +1100
commit135c93599036bbe646a69b568eef9219823a4be9 (patch)
tree2fca5c980cc7bbc2f2db4c54f5fa76006bf741d4 /quantum
parent580ef6d88f22478112417c4ab3c1ee50211167d2 (diff)
Initial migration of suspend callbacks (#16067)
* Initial migration of suspend logic * Add header
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index ca3e4027dc..fb6220efa2 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -381,17 +381,6 @@ __attribute__((weak)) void startup_user() {}
__attribute__((weak)) void shutdown_user() {}
-/** \brief Run keyboard level Power down
- *
- * FIXME: needs doc
- */
-__attribute__((weak)) void suspend_power_down_user(void) {}
-/** \brief Run keyboard level Power down
- *
- * FIXME: needs doc
- */
-__attribute__((weak)) void suspend_power_down_kb(void) { suspend_power_down_user(); }
-
void suspend_power_down_quantum(void) {
#ifndef NO_SUSPEND_POWER_DOWN
// Turn off backlight
@@ -439,18 +428,6 @@ void suspend_power_down_quantum(void) {
#endif
}
-/** \brief run user level code immediately after wakeup
- *
- * FIXME: needs doc
- */
-__attribute__((weak)) void suspend_wakeup_init_user(void) {}
-
-/** \brief run keyboard level code immediately after wakeup
- *
- * FIXME: needs doc
- */
-__attribute__((weak)) void suspend_wakeup_init_kb(void) { suspend_wakeup_init_user(); }
-
__attribute__((weak)) void suspend_wakeup_init_quantum(void) {
// Turn on backlight
#ifdef BACKLIGHT_ENABLE