debug: add sensor update timing globals

This commit is contained in:
2026-07-01 00:46:46 -06:00
parent 0b04dcf89a
commit 0b55ede1fc
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
#define RELAY_SHIFT_REGISTER_PIN 255 #define RELAY_SHIFT_REGISTER_PIN 255
// GPIO4 is used by the LilyGO relay shift-register OE pin. // GPIO4 is used by the LilyGO relay shift-register OE pin.
#define ONEWIRE_PIN 21 #define ONEWIRE_PIN 15
#define IGNITION_PIN 34 #define IGNITION_PIN 34
@@ -1509,6 +1509,9 @@ setInterval(load,3000);
WebServer server(80); WebServer server(80);
unsigned long lastSensorUpdate = 0;
const unsigned long SENSOR_INTERVAL = 5000;
#define API_V1(path) "/api/v1" path #define API_V1(path) "/api/v1" path
int findTempConfigIndexById(const String& id) { int findTempConfigIndexById(const String& id) {