Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
TIT8 authored May 4, 2024
1 parent 07289cf commit 0742589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static void gpio_task(void *arg)

for (;;)
{
button_current = gpio_get_level(GPIO_NUM_26);
button_current = gpio_get_level(GPIO_NUM_26); // Please read the README to know why I'm waiting for this
if (button_current != button_last)
{
previous_millis = millis(); // Non blocking mode
Expand Down

0 comments on commit 0742589

Please sign in to comment.