Browse Source

Merge pull request #280 from FrankBoesing/patch-2

re-enable i2s-slave for T3.x
dds
Paul Stoffregen 5 years ago
parent
commit
d250a21b2a
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      output_i2s.cpp

+ 1
- 2
output_i2s.cpp View File



void AudioOutputI2Sslave::begin(void) void AudioOutputI2Sslave::begin(void)
{ {
#if 0
dma.begin(true); // Allocate the DMA channel first dma.begin(true); // Allocate the DMA channel first


//pinMode(2, OUTPUT); //pinMode(2, OUTPUT);
update_responsibility = update_setup(); update_responsibility = update_setup();
dma.enable(); dma.enable();
dma.attachInterrupt(isr); dma.attachInterrupt(isr);
#endif
} }


void AudioOutputI2Sslave::config_i2s(void) void AudioOutputI2Sslave::config_i2s(void)

Loading…
Cancel
Save