We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3266720 commit eb03e4bCopy full SHA for eb03e4b
ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
@@ -82,7 +82,8 @@ void frequencyin_emergency_cancel_capture(uint8_t index) {
82
#ifdef SAM_D5X_E5X
83
NVIC_EnableIRQ(EIC_0_IRQn + self->channel);
84
#endif
85
- mp_raise_RuntimeError(translate("Frequency captured is above capability. Capture Paused."));
+ // Frequency captured is above capability. Capture paused.
86
+ // We can't raise an error here; we're in an interrupt handler.
87
}
88
89
void frequencyin_interrupt_handler(uint8_t index) {
0 commit comments