summaryrefslogtreecommitdiffstats
path: root/lock/fend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lock/fend.c')
-rw-r--r--lock/fend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lock/fend.c b/lock/fend.c
index 500ef7f..37ca6d7 100644
--- a/lock/fend.c
+++ b/lock/fend.c
@@ -125,10 +125,9 @@ int main(void)
}
radio_pwr_dwn();
- sleep_enable();
sleep_bod_disable();
- sleep_cpu();
- sleep_disable();
+ set_sleep_mode(SLEEP_MODE_PWR_DOWN);
+ sleep_mode();
radio_listen();
}
}