Browse Source

re-enable i2s-slave for T3.x

will do i2s-slave later.
dds
Frank 5 years ago
parent
commit
5a3b348889
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