[SX126x] Added getMod implementation
This commit is contained in:
parent
c3e99c8698
commit
852d336c50
1 changed files with 4 additions and 0 deletions
|
@ -1717,6 +1717,10 @@ int16_t SX126x::setDio2AsRfSwitch(bool enable) {
|
|||
return(this->mod->SPIwriteStream(RADIOLIB_SX126X_CMD_SET_DIO2_AS_RF_SWITCH_CTRL, &data, 1));
|
||||
}
|
||||
|
||||
Module* SX126x::getMod() {
|
||||
return(this->mod);
|
||||
}
|
||||
|
||||
int16_t SX126x::setFs() {
|
||||
return(this->mod->SPIwriteStream(RADIOLIB_SX126X_CMD_SET_FS, NULL, 0));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue