Skip to content

Commit b808d16

Browse files
committed
typo fix
1 parent 0d03ba8 commit b808d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/touchio/TouchIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
static uint16_t get_raw_reading(touchio_touchin_obj_t *self) {
2929

3030
uint16_t ticks = 0;
31-
const pulldir = self->pulldir;
31+
const bool pulldir = self->pulldir;
3232

3333
for (uint16_t i = 0; i < N_SAMPLES; i++) {
3434
// set pad to digital output "high" for 10us to charge it (dpending on pulldir)

0 commit comments

Comments
 (0)