main.cpp cleanup

This commit is contained in:
akdeb 2025-05-25 13:25:30 +01:00
parent d11bec8a2c
commit 36723fbb55

View file

@ -9,8 +9,6 @@
#include "Button.h"
#include "FactoryReset.h"
// #define WEBSOCKETS_DEBUG_LEVEL WEBSOCKETS_LEVEL_ALL
#define TOUCH_THRESHOLD 28000
#define LONG_PRESS_MS 1000
#define REQUIRED_RELEASE_CHECKS 100 // how many consecutive times we need "below threshold" to confirm release
@ -117,7 +115,6 @@ void setupWiFi()
webServer.begin();
}
void touchTask(void* parameter) {
touch_pad_init();
touch_pad_config(TOUCH_PAD_NUM2);
@ -158,7 +155,6 @@ void touchTask(void* parameter) {
vTaskDelete(NULL);
}
void setupDeviceMetadata() {
// factoryResetDevice();
deviceState = IDLE;