mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Fix RSSI ADC DMA not working bug.
Resolves sharebrained/portapack-hackrf#3
This commit is contained in:
parent
7962c3d7c6
commit
c142b1bcfc
@ -40,7 +40,7 @@ namespace rf {
|
|||||||
namespace rssi {
|
namespace rssi {
|
||||||
|
|
||||||
constexpr uint32_t adc1_sel = (1U << portapack::adc1_rssi_input);
|
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 uint32_t adc1_clkdiv = base_apb3_clk_f / adc::clock_rate_max;
|
||||||
constexpr adc::CR adc1_cr {
|
constexpr adc::CR adc1_cr {
|
||||||
|
Loading…
Reference in New Issue
Block a user