Allow set_transceiver_mode(OFF) to fall through the rest of the function, now that sgpio_configure() is expecting OFF as a value.
This commit is contained in:
@ -189,7 +189,6 @@ void set_transceiver_mode(const transceiver_mode_t new_transceiver_mode) {
|
|||||||
gpio_clear(PORT_LED1_3, PIN_LED2);
|
gpio_clear(PORT_LED1_3, PIN_LED2);
|
||||||
gpio_clear(PORT_LED1_3, PIN_LED3);
|
gpio_clear(PORT_LED1_3, PIN_LED3);
|
||||||
rf_path_set_direction(RF_PATH_DIRECTION_OFF);
|
rf_path_set_direction(RF_PATH_DIRECTION_OFF);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sgpio_configure(transceiver_mode, true);
|
sgpio_configure(transceiver_mode, true);
|
||||||
|
Reference in New Issue
Block a user