Browse Source

Fix ADC input on Teensy 3.x

dds
PaulStoffregen 4 years ago
parent
commit
1be52e08c8
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      input_adc.cpp

+ 4
- 2
input_adc.cpp View File

@@ -24,13 +24,15 @@
* THE SOFTWARE.
*/

#if defined(KINETISK)
#include <Arduino.h>
#include "input_adc.h"
#include "utility/pdb.h"
#include "utility/dspinst.h"

#if defined(KINETISK)

#include "utility/pdb.h"

#define COEF_HPF_DCBLOCK (1048300<<10) // DC Removal filter coefficient in S1.30

DMAMEM __attribute__((aligned(32))) static uint16_t analog_rx_buffer[AUDIO_BLOCK_SAMPLES];

Loading…
Cancel
Save