[Si443x] cleanup

pull/928/head
jgromes 2024-01-12 20:14:18 +01:00
rodzic d31b4836e1
commit 935c316f7c
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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();