mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-14 15:36:39 -05:00
Fix RSSI ADC DMA not working bug.
Resolves sharebrained/portapack-hackrf#3
This commit is contained in:
parent
7962c3d7c6
commit
c142b1bcfc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue