cc1200: reset rf_flags in on()

This commit is contained in:
Simon Duquennoy 2018-10-03 14:15:05 +02:00
parent c589875aee
commit f4c1ae0fdd
1 changed files with 1 additions and 0 deletions

View File

@ -1055,6 +1055,7 @@ on(void)
RF_ASSERT((cc1200_arch_gpio0_read_pin() == 0));
cc1200_arch_spi_deselect();
rf_flags = RF_INITIALIZED;
rf_flags |= RF_ON;
/* Radio is IDLE now, re-configure GPIO0 (modified inside off()) */