1
0
Fork 0

Remove unused suspend_idle (#16063)

This commit is contained in:
Joel Challis 2022-01-26 22:57:28 +00:00 committed by GitHub
parent 9e5f8983ec
commit 6a9ec74b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 30 deletions

View file

@ -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)