Remove old code needed for debug mode

This commit is contained in:
Jonathan Swoboda 2025-01-02 09:27:08 -05:00
parent 9bf261bab3
commit 2831d3bd08

View File

@ -112,11 +112,6 @@ void SX127x::configure() {
} else {
this->write_register_(REG_DIO_MAPPING1, DIO0_MAPPING_11);
}
if (this->preamble_size_ > 0) {
this->write_register_(REG_DIO_MAPPING2, MAP_PREAMBLE_INT);
} else {
this->write_register_(REG_DIO_MAPPING2, MAP_RSSI_INT);
}
// configure rx and afc
uint8_t trigger = (this->preamble_size_ > 0) ? TRIGGER_PREAMBLE : TRIGGER_RSSI;