1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/dose
Benjamin Valentin e6d2ff668b drivers/dose: only disable watchdog when transiting from RECV state
The DOSE watchdog should only run if at least one interface is in RECV
state.

That means it must be enabled when entering RECV state and disabled
when leaving RECV state.

The watchdog was *always* disabled on a transition to IDLE.
This is wrong: If there are two interfaces and one is in RECV state
but the other did just SEND something and transitions to IDLE state
from SEND state, it would still disable the watchdog.

Fix this by only disabling the watchdog if the current state is RECV.
2022-02-28 17:22:48 +01:00
..
include drivers/dose: enable standby pin 2021-11-09 15:19:35 +01:00
dose.c drivers/dose: only disable watchdog when transiting from RECV state 2022-02-28 17:22:48 +01:00
Kconfig drivers/dose: calculate timeout based on symbol rate 2021-08-25 20:48:54 +02:00
Makefile drivers: add Differentially Operated Serial Ethernet driver 2019-12-16 10:43:13 +01:00
Makefile.dep drivers/dose: migrate to ztimer_usec 2022-01-25 08:43:33 +01:00
Makefile.include drivers/dose: introduce watchdog timer 2022-01-18 15:41:38 +01:00