From 766cd060b8fa05d2ca5b90a380ae67e2d46990a0 Mon Sep 17 00:00:00 2001 From: Mykhailo Khulap Date: Wed, 17 Oct 2018 12:13:07 +0300 Subject: [PATCH] Fix compilation errors and project dependencies for Arduino Mega --- lighthub/inputs.cpp | 1 + lighthub/main.cpp | 10 +- platformio.ini | 461 ++++++++++++++++++++++---------------------- 3 files changed, 237 insertions(+), 235 deletions(-) diff --git a/lighthub/inputs.cpp b/lighthub/inputs.cpp index d6ca993..b676295 100644 --- a/lighthub/inputs.cpp +++ b/lighthub/inputs.cpp @@ -20,6 +20,7 @@ e-mail anklimov@gmail.com #include "inputs.h" #include "item.h" +#include "utils.h" #include #ifndef DHT_DISABLE diff --git a/lighthub/main.cpp b/lighthub/main.cpp index 165381c..61e4daf 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -477,8 +477,8 @@ void onInitialStateInitLAN() { #if defined(__AVR__) || defined(__SAM3X8E__)||defined(ARDUINO_ARCH_STM32F1) #ifdef W5500_CS_PIN Ethernet.w5500_cspin = W5500_CS_PIN; - debugSerial<