Skip to content

Commit 5bbba6d

Browse files
committed
wip
1 parent 4bd7b04 commit 5bbba6d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/esp32/quickref.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ working with this board it may be useful to get an overview of the microcontroll
1616
:maxdepth: 1
1717

1818
general.rst
19+
pcnt.rst
1920
tutorial/index.rst
2021

2122
Installing MicroPython

ports/esp32/machine_encoder.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ STATIC void IRAM_ATTR pcnt_intr_handler(void *arg) {
108108
}
109109
if (status_unit & PCNT_EVT_ZERO) {
110110
if (self->counter == 0) {
111-
//self->status |= PCNT_EVT_ZERO;
111+
// self->status |= PCNT_EVT_ZERO;
112112
mp_sched_schedule(self->handler_zero, MP_OBJ_FROM_PTR(self));
113113
mp_hal_wake_main_task_from_isr();
114114
}
115115
}
116116
}
117-
//PCNT.int_clr.val = BIT(id); // clear the interrupt
117+
// PCNT.int_clr.val = BIT(id); // clear the interrupt
118118
}
119119
}
120120
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy