[Si443x] cleanup
This commit is contained in:
parent
d31b4836e1
commit
935c316f7c
1 changed files with 4 additions and 4 deletions
|
@ -6,10 +6,6 @@ Si443x::Si443x(Module* mod) : PhysicalLayer(RADIOLIB_SI443X_FREQUENCY_STEP_SIZE,
|
|||
this->mod = mod;
|
||||
}
|
||||
|
||||
Module* Si443x::getMod() {
|
||||
return(this->mod);
|
||||
}
|
||||
|
||||
int16_t Si443x::begin(float br, float freqDev, float rxBw, uint8_t preambleLen) {
|
||||
// set module properties
|
||||
this->mod->init();
|
||||
|
@ -641,6 +637,10 @@ int16_t Si443x::variablePacketLengthMode(uint8_t maxLen) {
|
|||
return(Si443x::setPacketMode(RADIOLIB_SI443X_FIXED_PACKET_LENGTH_OFF, maxLen));
|
||||
}
|
||||
|
||||
Module* Si443x::getMod() {
|
||||
return(this->mod);
|
||||
}
|
||||
|
||||
int16_t Si443x::setFrequencyRaw(float newFreq) {
|
||||
// set mode to standby
|
||||
int16_t state = standby();
|
||||
|
|
Loading…
Add table
Reference in a new issue