Skip to content

Commit

Permalink
Longer io timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
whowechina committed May 18, 2024
1 parent 821d2e8 commit 56b5297
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified Production/firmware/mai_pico.uf2
Binary file not shown.
2 changes: 1 addition & 1 deletion firmware/src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "touch.h"
#include "rgb.h"

#define IO_TIMEOUT_SEC 10
#define IO_TIMEOUT_SEC 60

static struct {
bool stat;
Expand Down
2 changes: 1 addition & 1 deletion firmware/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
static void run_lights()
{
uint64_t now = time_us_64();
if (io_is_active()) {
if (io_is_active() || aime_is_active()) {
return;
}

Expand Down

0 comments on commit 56b5297

Please sign in to comment.