10000 Use bool not int. · sparkfun/circuitpython@8fb34a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8fb34a5

Browse files
committed
Use bool not int.
1 parent 8195df1 commit 8fb34a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/atmel-samd/common-hal/pulseio/PulseIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void common_hal_pulseio_pulsein_construct(pulseio_pulsein_obj_t* self,
125125
self->first_edge = true;
126126
self->last_us = 0;
127127
self->last_ms = 0;
128-
self->errored_too_fast = 0;
128+
self->errored_too_fast = false;
129129

130130
set_eic_channel_data(pin->extint_channel, (void*) self);
131131

0 commit comments

Comments
 (0)
0