mirror of
https://github.com/whowechina/mai_pico.git
synced 2024-11-24 04:00:09 +01:00
Longer io timeout
This commit is contained in:
parent
821d2e8d58
commit
56b52976e3
Binary file not shown.
@ -8,7 +8,7 @@
|
||||
#include "touch.h"
|
||||
#include "rgb.h"
|
||||
|
||||
#define IO_TIMEOUT_SEC 10
|
||||
#define IO_TIMEOUT_SEC 60
|
||||
|
||||
static struct {
|
||||
bool stat;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user