Merge pull request #3872 from dhalbert/frequencyin-fix-6.0.x-to-6.0.x
Backport #3867 (FrequencyIn fix) to 6.0.x
This commit is contained in:
commit
eda1f811a1
@ -82,7 +82,8 @@ void frequencyin_emergency_cancel_capture(uint8_t index) {
|
||||
#ifdef SAM_D5X_E5X
|
||||
NVIC_EnableIRQ(EIC_0_IRQn + self->channel);
|
||||
#endif
|
||||
mp_raise_RuntimeError(translate("Frequency captured is above capability. Capture Paused."));
|
||||
// Frequency captured is above capability. Capture paused.
|
||||
// We can't raise an error here; we're in an interrupt handler.
|
||||
}
|
||||
|
||||
void frequencyin_interrupt_handler(uint8_t index) {
|
||||
|
Loading…
Reference in New Issue
Block a user