diff --git a/src/main.rs b/src/main.rs
index d6075a1d1f82e1cc33bf2c875021c01d4a7b4f8f..8d87082aa856f46c1a8c6fea9a09873df1663455 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -28,6 +28,8 @@ mod app {
     use crate::packet::PACKET_LEN;
     use crate::spi_data::{self, SpiData};
 
+    const FREQUENCY_HZ: u32 = 446_900_000;
+
     // in # packets
     const BUFFER_LEN: usize = 100;
 
@@ -147,7 +149,7 @@ mod app {
 
         let delay = ctx.device.TIM5.delay_us(&clocks);
         let mut radio = Rf4463::new(spi, sdn, cs, delay, &mut RADIO_CONFIG_500_2.clone()).unwrap();
-        radio.set_frequency(446_900_000).unwrap();
+        radio.set_frequency(FREQUENCY_HZ).unwrap();
 
         radio_irq.make_interrupt_source(&mut sys_cfg);
         radio_irq.enable_interrupt(&mut ctx.device.EXTI);