Signed-off-by: Bernd Giesecke <bernd@giesecke.tk>
pull/17/head
Bernd Giesecke 2019-06-04 15:38:42 +08:00
rodzic 8c0a7a2ea3
commit b8b20a3753
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1084,7 +1084,7 @@ int16_t SX126x::setDio2AsRfSwitch(bool enable) {
int16_t state = SPIwriteCommand(SX126X_CMD_SET_DIO2_AS_RF_SWITCH_CTRL, data, 1);
if (state == ERR_NONE) {
_dio2RfSwitch = true;
_dio2RfSwitch = enable;
}
return(state);
}