Browse Source

Disable not-yet-working PWM output for Teensy 4.x

dds
PaulStoffregen 4 years ago
parent
commit
39da63a392
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      output_pwm.cpp

+ 20
- 0
output_pwm.cpp View File



#elif defined(__IMXRT1062__) #elif defined(__IMXRT1062__)



#if 1

// Frank says this should be disabled for non-beta release
// https://forum.pjrc.com/threads/60532-Teensy-4-1-Beta-Test?p=239244&viewfull=1#post239244

void AudioOutputPWM::begin(void)
{
}

void AudioOutputPWM::update(void)
{
audio_block_t *block;
block = receiveReadOnly();
if (block) release(block);
}

#else
/* /*
* by Frank B * by Frank B
*/ */
__enable_irq(); __enable_irq();
} }
#endif #endif

#endif // __IMXRT1062__

Loading…
Cancel
Save