mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
611f4161d6
When the radio is in DEEP SLEEP, reading the state register will return 0. This makes the reset routine abort early even though the device is connected and still waking up. Instead, just add a timeout to the polling of the WAKEUP IRQ bit. In practise it has shown that the loop will be taken two times on 'normal' reset and four times when the radio was in DEEP SLEEP. Polling 255 times sure does not hurt. To reproduce the issue, put both interfaces into SLEEP mode, then reboot the module: ifconfig 7 set state sleep ifconfig 8 set state sleep reboot |
||
---|---|---|
.. | ||
include | ||
at86rf215_getset.c | ||
at86rf215_internal.c | ||
at86rf215_netdev.c | ||
at86rf215_o-qpsk.c | ||
at86rf215.c | ||
Makefile |