summaryrefslogtreecommitdiff
path: root/platforms/avr
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-01-26 22:57:28 +0000
committerGitHub <noreply@github.com>2022-01-26 14:57:28 -0800
commit6a9ec74b329e458c32db4a2e3a3e0478ac8e72b5 (patch)
tree7e1893eb81676be8712a09944411b087de97f150 /platforms/avr
parent9e5f8983ec6f8ed549cdafe6b0178074e51bd938 (diff)
Remove unused suspend_idle (#16063)
Diffstat (limited to 'platforms/avr')
-rw-r--r--platforms/avr/suspend.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/platforms/avr/suspend.c b/platforms/avr/suspend.c
index b614746e6c..7b164a34b1 100644
--- a/platforms/avr/suspend.c
+++ b/platforms/avr/suspend.c
@@ -16,19 +16,6 @@
# include "vusb.h"
#endif
-/** \brief Suspend idle
- *
- * FIXME: needs doc
- */
-void suspend_idle(uint8_t time) {
- cli();
- set_sleep_mode(SLEEP_MODE_IDLE);
- sleep_enable();
- sei();
- sleep_cpu();
- sleep_disable();
-}
-
// TODO: This needs some cleanup
#if !defined(NO_SUSPEND_POWER_DOWN) && defined(WDT_vect)