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

@@ -486,7 +486,7 @@ void AudioOutputI2S::config_i2s(void)

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

//pinMode(2, OUTPUT);
@@ -536,7 +536,6 @@ void AudioOutputI2Sslave::begin(void)
update_responsibility = update_setup();
dma.enable();
dma.attachInterrupt(isr);
#endif
}

void AudioOutputI2Sslave::config_i2s(void)

Loading…
Cancel
Save