From c142b1bcfc62eb56ce844d6e0ec96c520cf8d7aa Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 8 Jul 2015 15:48:20 -0700 Subject: [PATCH] Fix RSSI ADC DMA not working bug. Resolves sharebrained/portapack-hackrf#3 --- firmware/baseband/rssi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/rssi.cpp b/firmware/baseband/rssi.cpp index 8d072519..2117840d 100644 --- a/firmware/baseband/rssi.cpp +++ b/firmware/baseband/rssi.cpp @@ -40,7 +40,7 @@ namespace rf { namespace rssi { constexpr uint32_t adc1_sel = (1U << portapack::adc1_rssi_input); -const auto adc1_interrupt_mask = 0; +const auto adc1_interrupt_mask = flp2(adc1_sel); //constexpr uint32_t adc1_clkdiv = base_apb3_clk_f / adc::clock_rate_max; constexpr adc::CR adc1_cr {