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 ab1de66 commit 81d227dCopy full SHA for 81d227d
ports/stm/peripherals/exti.c
@@ -26,6 +26,7 @@
26
27
#include <stdbool.h>
28
#include "py/mpconfig.h"
29
+#include "py/misc.h"
30
31
#include "peripherals/exti.h"
32
@@ -125,7 +126,7 @@ void EXTI4_IRQHandler(void) {
125
126
#endif
127
void EXTI9_5_IRQHandler(void) {
128
uint32_t pending = EXTI->PR;
- for (uint8_t i = 5; i <= 9; i++) {
129
+ for (uint i = 5; i <= 9; i++) {
130
if (pending & (1 << i)) {
131
stm_exti_callback[i](i);
132
}
@@ -134,7 +135,7 @@ void EXTI9_5_IRQHandler(void) {
134
135
136
void EXTI15_10_IRQHandler(void) {
137
- for (uint8_t i = 10; i <= 15; i++) {
138
+ for (uint i = 10; i <= 15; i++) {
139
140
141
0 commit comments