From 2fff9ae4fc4f18c5a44cd575b12119a47bd7f424 Mon Sep 17 00:00:00 2001 From: penfold42 Date: Tue, 28 Jun 2016 06:43:28 +1000 Subject: [PATCH] Remove unused constructors (#60) --- libsrc/leddevice/LedDeviceUdpRaw.cpp | 7 ------- libsrc/leddevice/LedDeviceUdpRaw.h | 2 -- libsrc/leddevice/LedDeviceWs2801.cpp | 7 ------- libsrc/leddevice/LedDeviceWs2801.h | 2 -- 4 files changed, 18 deletions(-) diff --git a/libsrc/leddevice/LedDeviceUdpRaw.cpp b/libsrc/leddevice/LedDeviceUdpRaw.cpp index 5880b2f9..7f186de0 100644 --- a/libsrc/leddevice/LedDeviceUdpRaw.cpp +++ b/libsrc/leddevice/LedDeviceUdpRaw.cpp @@ -11,13 +11,6 @@ // hyperion local includes #include "LedDeviceUdpRaw.h" -LedDeviceUdpRaw::LedDeviceUdpRaw(const std::string& outputDevice, const unsigned baudrate) : - LedUdpDevice(outputDevice, baudrate, 500000), - mLedCount(0) -{ - // empty -} - LedDeviceUdpRaw::LedDeviceUdpRaw(const std::string& outputDevice, const unsigned baudrate, const unsigned latchTime) : LedUdpDevice(outputDevice, baudrate, latchTime), mLedCount(0) diff --git a/libsrc/leddevice/LedDeviceUdpRaw.h b/libsrc/leddevice/LedDeviceUdpRaw.h index 4ddf8098..bf64e622 100644 --- a/libsrc/leddevice/LedDeviceUdpRaw.h +++ b/libsrc/leddevice/LedDeviceUdpRaw.h @@ -18,8 +18,6 @@ public: /// @param outputDevice The name of the output device (eg '/etc/SpiDev.0.0') /// @param baudrate The used baudrate for writing to the output device /// - LedDeviceUdpRaw(const std::string& outputDevice, - const unsigned baudrate); LedDeviceUdpRaw(const std::string& outputDevice, const unsigned baudrate, diff --git a/libsrc/leddevice/LedDeviceWs2801.cpp b/libsrc/leddevice/LedDeviceWs2801.cpp index aaee8cf6..2bc65b3d 100644 --- a/libsrc/leddevice/LedDeviceWs2801.cpp +++ b/libsrc/leddevice/LedDeviceWs2801.cpp @@ -11,13 +11,6 @@ // hyperion local includes #include "LedDeviceWs2801.h" -LedDeviceWs2801::LedDeviceWs2801(const std::string& outputDevice, const unsigned baudrate) : - LedSpiDevice(outputDevice, baudrate, 500000), - mLedCount(0) -{ - // empty -} - LedDeviceWs2801::LedDeviceWs2801(const std::string& outputDevice, const unsigned baudrate, const unsigned latchTime) : LedSpiDevice(outputDevice, baudrate, latchTime), mLedCount(0) diff --git a/libsrc/leddevice/LedDeviceWs2801.h b/libsrc/leddevice/LedDeviceWs2801.h index c2231cd7..2f6606a3 100644 --- a/libsrc/leddevice/LedDeviceWs2801.h +++ b/libsrc/leddevice/LedDeviceWs2801.h @@ -18,8 +18,6 @@ public: /// @param outputDevice The name of the output device (eg '/etc/SpiDev.0.0') /// @param baudrate The used baudrate for writing to the output device /// - LedDeviceWs2801(const std::string& outputDevice, - const unsigned baudrate); LedDeviceWs2801(const std::string& outputDevice, const unsigned baudrate,