mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-09 17:25:00 +00:00
CC26xx RF core: don't bail out from restarting the radio timer if just stopping it failed
This commit is contained in:
@@ -419,8 +419,7 @@ rf_core_restart_rat(void)
|
|||||||
{
|
{
|
||||||
if(rf_core_stop_rat() != RF_CORE_CMD_OK) {
|
if(rf_core_stop_rat() != RF_CORE_CMD_OK) {
|
||||||
PRINTF("rf_core_restart_rat: rf_core_stop_rat() failed\n");
|
PRINTF("rf_core_restart_rat: rf_core_stop_rat() failed\n");
|
||||||
|
/* Don't bail out here, still try to start it */
|
||||||
return RF_CORE_CMD_ERROR;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(rf_core_start_rat() != RF_CORE_CMD_OK) {
|
if(rf_core_start_rat() != RF_CORE_CMD_OK) {
|
||||||
|
Reference in New Issue
Block a user