bluefruit, pjrc: Update protocols for new API
This commit is contained in:
parent
22d99f26af
commit
06527bde4f
6 changed files with 7 additions and 35 deletions
|
@ -104,7 +104,7 @@ int main(void)
|
|||
dprintf("Starting main loop");
|
||||
while (1) {
|
||||
while (suspend) {
|
||||
suspend_power_down();
|
||||
suspend_power_down(WDTO_120MS);
|
||||
if (remote_wakeup && suspend_wakeup_condition()) {
|
||||
usb_remote_wakeup();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue