Browse Source

Comment out pin 13 debug in I2S input

dds
PaulStoffregen 5 years ago
parent
commit
bd7aea87e9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      input_i2s.cpp

+ 3
- 3
input_i2s.cpp View File

@@ -91,7 +91,7 @@ void AudioInputI2S::begin(void)
update_responsibility = update_setup();
dma.enable();
dma.attachInterrupt(isr);
pinMode(13, OUTPUT);
//pinMode(13, OUTPUT);
}

void AudioInputI2S::isr(void)
@@ -101,7 +101,7 @@ void AudioInputI2S::isr(void)
int16_t *dest_left, *dest_right;
audio_block_t *left, *right;

digitalWriteFast(13, HIGH);
//digitalWriteFast(13, HIGH);
#if defined(KINETISK) || defined(__IMXRT1052__) || defined(__IMXRT1062__)
daddr = (uint32_t)(dma.TCD->DADDR);
#endif
@@ -138,7 +138,7 @@ void AudioInputI2S::isr(void)
} while (src < end);
}
}
digitalWriteFast(13, LOW);
//digitalWriteFast(13, LOW);
}



Loading…
Cancel
Save