levering 02-06-2023
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
"ScanTimeout": 50,
|
"ScanTimeout": 50,
|
||||||
"HardwareVersion": 2,
|
"HardwareVersion": 2,
|
||||||
"GameTimeout": 20000,
|
"GameTimeout": 20000,
|
||||||
"PowerTimeout": 420000,
|
"PowerTimeout": 30,
|
||||||
"PowerOTADelay": 4000,
|
"PowerOTADelay": 4000,
|
||||||
"Brightness": 20
|
"Brightness": 2
|
||||||
}
|
}
|
||||||
@@ -7,9 +7,10 @@
|
|||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "ota.h"
|
#include "ota.h"
|
||||||
#include "led.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 POWERBUTTONDELAY 400
|
||||||
//#define BATTERYMEASUREDELAY 60000
|
//#define BATTERYMEASUREDELAY 60000
|
||||||
#define POWERBUTTONOTADELAY 4000
|
#define POWERBUTTONOTADELAY 4000
|
||||||
|
|||||||
Reference in New Issue
Block a user