mirror of
https://github.com/esphome/esphome.git
synced 2025-01-30 23:02:14 +01:00
Remove old code needed for debug mode
This commit is contained in:
parent
9bf261bab3
commit
2831d3bd08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user