From 8ed8db11272dceb83a19c890e7a4d969d094210b Mon Sep 17 00:00:00 2001 From: Fred Date: Wed, 28 Oct 2020 14:22:34 -0400 Subject: [PATCH] Update DCC.h --- DCC.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/DCC.h b/DCC.h index 529e326..b447baf 100644 --- a/DCC.h +++ b/DCC.h @@ -72,6 +72,7 @@ public: static void setFunction(int cab, byte fByte, byte eByte); static void setFn(int cab, byte functionNumber, bool on); static int changeFn(int cab, byte functionNumber, bool pressed); + static int getFn(int cab, byte functionNumber); static void updateGroupflags(byte &flags, int functionNumber); static void setAccessory(int aAdd, byte aNum, bool activate); static bool writeTextPacket(byte *b, int nBytes); @@ -162,16 +163,5 @@ private: #error CANNOT COMPILE - DCC++ EX ONLY WORKS WITH AN ARDUINO UNO, NANO 328, OR ARDUINO MEGA 1280/2560 #endif -#ifdef ENABLE_LCD -#include -#if defined(LIB_TYPE_PCF8574) -#include -extern LiquidCrystal_PCF8574 lcdDisplay; -#elif defined(LIB_TYPE_I2C) -#include -extern LiquidCrystal_I2C lcdDisplay; -#endif -extern bool lcdEnabled; -#endif #endif