levering 02-06-2023

This commit is contained in:
2023-06-04 14:42:20 +02:00
parent 715359f89e
commit 966868b531
2 changed files with 4 additions and 3 deletions

View File

@@ -26,7 +26,7 @@
"ScanTimeout": 50,
"HardwareVersion": 2,
"GameTimeout": 20000,
"PowerTimeout": 420000,
"PowerTimeout": 30,
"PowerOTADelay": 4000,
"Brightness": 20
"Brightness": 2
}

View File

@@ -7,9 +7,10 @@
#include "audio.h"
#include "ota.h"
#include "led.h"
#include "config.h"
#define TIMEOUT_POWER (7 * 1000 * 60) // 7 minutes timeout
#define TIMEOUT_POWER (30 * 1000 * 60) // 7 minutes timeout
#define POWERBUTTONDELAY 400
//#define BATTERYMEASUREDELAY 60000
#define POWERBUTTONOTADELAY 4000