diff options
| author | sander <[email protected]> | 2023-04-19 15:41:00 +0200 |
|---|---|---|
| committer | sander <[email protected]> | 2023-04-19 15:41:00 +0200 |
| commit | 7d64de153f7f9528ddc1cc10b600fe917ea171d5 (patch) | |
| tree | 767f02fec4f261de603cc9802bd5f27db93d450e /examples/stm32wl/src | |
| parent | 3002ee0dcf0ae186867b2fd869daed609d7a4a23 (diff) | |
| parent | 37181c79d9a0c6642d4b31bfb1d1816c9ee1b315 (diff) | |
Merge commit 'cbe076d763d97f715605d25d8f8815e299c45d46'
Diffstat (limited to 'examples/stm32wl/src')
| -rw-r--r-- | examples/stm32wl/src/bin/lorawan.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32wl/src/bin/lorawan.rs b/examples/stm32wl/src/bin/lorawan.rs index 7f34dd306..32f29cc5d 100644 --- a/examples/stm32wl/src/bin/lorawan.rs +++ b/examples/stm32wl/src/bin/lorawan.rs | |||
| @@ -63,7 +63,7 @@ async fn main(_spawner: Spawner) { | |||
| 63 | radio_config.calibrate_image = CalibrateImage::ISM_863_870; | 63 | radio_config.calibrate_image = CalibrateImage::ISM_863_870; |
| 64 | let radio = SubGhzRadio::new(radio, rfs, irq, radio_config).unwrap(); | 64 | let radio = SubGhzRadio::new(radio, rfs, irq, radio_config).unwrap(); |
| 65 | 65 | ||
| 66 | let mut region: region::Configuration = region::EU868::default().into(); | 66 | let mut region = region::Configuration::new(region::Region::EU868); |
| 67 | 67 | ||
| 68 | // NOTE: This is specific for TTN, as they have a special RX1 delay | 68 | // NOTE: This is specific for TTN, as they have a special RX1 delay |
| 69 | region.set_receive_delay1(5000); | 69 | region.set_receive_delay1(5000); |
