diff --git a/src/boards/Main/Radio/Radio.cpp b/src/boards/Main/Radio/Radio.cpp index 1be385ec93c0f01c9672a189a505378fed1c166e..c8042c0da6b90505dd605f9a4bf67839ebf4823f 100644 --- a/src/boards/Main/Radio/Radio.cpp +++ b/src/boards/Main/Radio/Radio.cpp @@ -119,6 +119,13 @@ Radio::Radio() SX1278::Config config = {}; config.freq_rf = 412000000; + config.freq_dev = 25000; + config.bitrate = 19200; + config.rx_bw = SX1278::RxBw::HZ_83300; + config.afc_bw = SX1278::RxBw::HZ_125000; + config.ocp = 120; + config.power = 17; + config.shaping = SX1278::Shaping::GAUSSIAN_BT_0_5; // Use default configuration transceiver->init(config); diff --git a/src/entrypoints/Groundstation/groundstation-entry.cpp b/src/entrypoints/Groundstation/groundstation-entry.cpp index 3d81da4809be5fd2f297227874a0920d9c24ddcb..dcc91d5cba639fad56df4c97f531f07d203100c8 100644 --- a/src/entrypoints/Groundstation/groundstation-entry.cpp +++ b/src/entrypoints/Groundstation/groundstation-entry.cpp @@ -136,7 +136,14 @@ int main() // Run default configuration SX1278::Config config; - config.freq_rf = 412000000; + config.freq_rf = 412000000; + config.freq_dev = 25000; + config.bitrate = 19200; + config.rx_bw = SX1278::RxBw::HZ_83300; + config.afc_bw = SX1278::RxBw::HZ_125000; + config.ocp = 120; + config.power = 17; + config.shaping = SX1278::Shaping::GAUSSIAN_BT_0_5; SPIBus bus(SPI4); #ifdef USE_RA01_PC13