main.cpp cleanup
This commit is contained in:
parent
d11bec8a2c
commit
36723fbb55
1 changed files with 0 additions and 4 deletions
|
|
@ -9,8 +9,6 @@
|
||||||
#include "Button.h"
|
#include "Button.h"
|
||||||
#include "FactoryReset.h"
|
#include "FactoryReset.h"
|
||||||
|
|
||||||
// #define WEBSOCKETS_DEBUG_LEVEL WEBSOCKETS_LEVEL_ALL
|
|
||||||
|
|
||||||
#define TOUCH_THRESHOLD 28000
|
#define TOUCH_THRESHOLD 28000
|
||||||
#define LONG_PRESS_MS 1000
|
#define LONG_PRESS_MS 1000
|
||||||
#define REQUIRED_RELEASE_CHECKS 100 // how many consecutive times we need "below threshold" to confirm release
|
#define REQUIRED_RELEASE_CHECKS 100 // how many consecutive times we need "below threshold" to confirm release
|
||||||
|
|
@ -117,7 +115,6 @@ void setupWiFi()
|
||||||
webServer.begin();
|
webServer.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void touchTask(void* parameter) {
|
void touchTask(void* parameter) {
|
||||||
touch_pad_init();
|
touch_pad_init();
|
||||||
touch_pad_config(TOUCH_PAD_NUM2);
|
touch_pad_config(TOUCH_PAD_NUM2);
|
||||||
|
|
@ -158,7 +155,6 @@ void touchTask(void* parameter) {
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void setupDeviceMetadata() {
|
void setupDeviceMetadata() {
|
||||||
// factoryResetDevice();
|
// factoryResetDevice();
|
||||||
deviceState = IDLE;
|
deviceState = IDLE;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue