mirror of
https://github.com/whowechina/mai_pico.git
synced 2024-11-11 23:27:10 +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 "touch.h"
|
||||||
#include "rgb.h"
|
#include "rgb.h"
|
||||||
|
|
||||||
#define IO_TIMEOUT_SEC 10
|
#define IO_TIMEOUT_SEC 60
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
bool stat;
|
bool stat;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
static void run_lights()
|
static void run_lights()
|
||||||
{
|
{
|
||||||
uint64_t now = time_us_64();
|
uint64_t now = time_us_64();
|
||||||
if (io_is_active()) {
|
if (io_is_active() || aime_is_active()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user