From 01b881e87eb941fb483e5db2491af488e468ee46 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 14 Jan 2018 08:14:16 +0900 Subject: [PATCH] core: Fix for warning of unused function standby() --- tmk_core/common/avr/suspend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 0e13eb69..ea8099d0 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c @@ -70,6 +70,7 @@ static void power_down(uint8_t wdto) wdt_disable(); } +#ifdef SUSPEND_MODE_STANDBY static void standby(void) { #ifdef SLEEP_MODE_STANDBY @@ -80,6 +81,7 @@ static void standby(void) sleep_disable(); #endif } +#endif static void idle(void) { -- 2.46.2