Diff
1diff --git a/platforms/arm_atsam/suspend.c b/platforms/arm_atsam/suspend.c
2index e51426128d85da35529c804463e0baf9822dbf69..73bebc4308f5a7bb5735edc18b7c2970c71d837a 100644
3--- a/platforms/arm_atsam/suspend.c
4+++ b/platforms/arm_atsam/suspend.c
5@@ -3,13 +3,6 @@
6 #include "md_rgb_matrix.h"
7 #include "suspend.h"
8
9-/** \brief Suspend idle
10- *
11- * FIXME: needs doc
12- */
13-void suspend_idle(uint8_t time) { /* Note: Not used anywhere currently */
14-}
15-
16 /** \brief Run user level Power down
17 *
18 * FIXME: needs doc
19diff --git a/platforms/avr/suspend.c b/platforms/avr/suspend.c
20index b614746e6cd8cdaaf59f250fd44599116d852e9b..7b164a34b1a1c62f070e0d376fb5e31b6684b3e4 100644
21--- a/platforms/avr/suspend.c
22+++ b/platforms/avr/suspend.c
23@@ -16,19 +16,6 @@
24 # include "vusb.h"
25 #endif
26
27-/** \brief Suspend idle
28- *
29- * FIXME: needs doc
30- */
31-void suspend_idle(uint8_t time) {
32- cli();
33- set_sleep_mode(SLEEP_MODE_IDLE);
34- sleep_enable();
35- sei();
36- sleep_cpu();
37- sleep_disable();
38-}
39-
40 // TODO: This needs some cleanup
41
42 #if !defined(NO_SUSPEND_POWER_DOWN) && defined(WDT_vect)
43diff --git a/platforms/chibios/suspend.c b/platforms/chibios/suspend.c
44index 9310a999209c35dd0073a9619833baff767e0755..d10ddf45015608b7c6882057b23f5defa5ec63d7 100644
45--- a/platforms/chibios/suspend.c
46+++ b/platforms/chibios/suspend.c
47@@ -13,15 +13,6 @@
48 #include "led.h"
49 #include "wait.h"
50
51-/** \brief suspend idle
52- *
53- * FIXME: needs doc
54- */
55-void suspend_idle(uint8_t time) {
56- // TODO: this is not used anywhere - what units is 'time' in?
57- wait_ms(time);
58-}
59-
60 /** \brief suspend power down
61 *
62 * FIXME: needs doc
63diff --git a/platforms/suspend.h b/platforms/suspend.h
64index 081735f90e354d9637ee8577c9650baa36c23e12..e4f7f39ddb83a51069a8d5b39f24e9cff6ae22d5 100644
65--- a/platforms/suspend.h
66+++ b/platforms/suspend.h
67@@ -3,7 +3,6 @@
68 #include <stdint.h>
69 #include <stdbool.h>
70
71-void suspend_idle(uint8_t timeout);
72 void suspend_power_down(void);
73 bool suspend_wakeup_condition(void);
74 void suspend_wakeup_init(void);