Skip to content

Commit bc30475

Browse files
committed
Fix frequencyio
1 parent 097af80 commit bc30475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void frequencyin_interrupt_handler(uint8_t index) {
156156
}
157157

158158
// Check if we've reached the upper limit of detection
159-
if (!supervisor_background_tasks_ok() || self->errored_too_fast) {
159+
if (!supervisor_background_ticks_ok() || self->errored_too_fast) {
160160
self->errored_too_fast = true;
161161
frequencyin_emergency_cancel_capture(i);
162162
}

0 commit comments

Comments
 (0)