From e811a65f66096a87d6e7d6e2cebbcc15fe1abdb6 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Tue, 6 Aug 2024 15:36:24 +0100 Subject: [PATCH] merge duplication error --- DCC.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/DCC.h b/DCC.h index 6ff0952a..fadce8da 100644 --- a/DCC.h +++ b/DCC.h @@ -60,11 +60,9 @@ class DCC // Public DCC API functions static void setThrottle(uint16_t cab, uint8_t tSpeed, bool tDirection); static void estopAll(); - static void estopAll(); static int8_t getThrottleSpeed(int cab); static uint8_t getThrottleSpeedByte(int cab); static uint8_t getLocoSpeedByte(int cab); // may lag throttle - static uint8_t getLocoSpeedByte(int cab); // may lag throttle static uint8_t getThrottleFrequency(int cab); static bool getThrottleDirection(int cab); static void writeCVByteMain(int cab, int cv, byte bValue); @@ -117,7 +115,6 @@ class DCC static LOCO speedTable[MAX_LOCOS]; static LOCO * lookupSpeedTable(int locoId, bool autoCreate=true); - static LOCO * lookupSpeedTable(int locoId, bool autoCreate=true); static byte cv1(byte opcode, int cv); static byte cv2(int cv); static bool setMomentum(int locoId,int16_t accelerating, int16_t decelerating); @@ -130,8 +127,6 @@ class DCC static void setFunctionInternal(int cab, byte fByte, byte eByte, byte count); static bool issueReminder(LOCO * slot); static LOCO* nextLocoReminder; - static bool issueReminder(LOCO * slot); - static LOCO* nextLocoReminder; static FSH *shieldName; static byte globalSpeedsteps;