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 a06fba1 commit 9f2250cCopy full SHA for 9f2250c
button.c
@@ -112,7 +112,7 @@ QueueHandle_t * button_init(unsigned long long pin_select) {
112
113
// Scan the pin map to determine number of pins
114
pin_count = 0;
115
- for (int pin=0; pin<=36; pin++) {
+ for (int pin=0; pin<=39; pin++) {
116
if ((1ULL<<pin) & pin_select) {
117
pin_count++;
118
}
@@ -124,7 +124,7 @@ QueueHandle_t * button_init(unsigned long long pin_select) {
124
125
// Scan the pin map to determine each pin number, populate the state
126
uint32_t idx = 0;
127
128
129
ESP_LOGI(TAG, "Registering button input: %d", pin);
130
debounce[idx].pin = pin;
0 commit comments