From 2ac358ba24175a350d903c1dc1f0a8ffc88a10ea Mon Sep 17 00:00:00 2001 From: Youen Date: Tue, 15 Aug 2023 17:00:48 +0200 Subject: [PATCH] fixed lint errors in Eclipse --- ESP32/src/lint-helpers.h | 3 +++ ESP32/src/vehicle-monitor.cpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 ESP32/src/lint-helpers.h diff --git a/ESP32/src/lint-helpers.h b/ESP32/src/lint-helpers.h new file mode 100644 index 0000000..74c03f7 --- /dev/null +++ b/ESP32/src/lint-helpers.h @@ -0,0 +1,3 @@ +#ifndef IRAM_ATTR +#define IRAM_ATTR +#endif diff --git a/ESP32/src/vehicle-monitor.cpp b/ESP32/src/vehicle-monitor.cpp index 2a387d4..895294c 100644 --- a/ESP32/src/vehicle-monitor.cpp +++ b/ESP32/src/vehicle-monitor.cpp @@ -18,7 +18,9 @@ #include -#define DUMMY_DATA 1 +#include "lint-helpers.h" + +#define DUMMY_DATA 0 AsyncWebServer server(80);