From c7192c5eefc7299cce4a941f5e88f6329f676149 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 26 Dec 2014 13:05:26 +0900 Subject: [PATCH] Notify: remove Led class This class didn't add any functionality beyond what the NotifyDevice class already provided so in keeping with our desire to keep things simple we can remove this class --- libraries/AP_Notify/Led.cpp | 0 libraries/AP_Notify/Led.h | 37 ------------------------------------- 2 files changed, 37 deletions(-) delete mode 100644 libraries/AP_Notify/Led.cpp delete mode 100644 libraries/AP_Notify/Led.h diff --git a/libraries/AP_Notify/Led.cpp b/libraries/AP_Notify/Led.cpp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/libraries/AP_Notify/Led.h b/libraries/AP_Notify/Led.h deleted file mode 100644 index c62828ae37..0000000000 --- a/libraries/AP_Notify/Led.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * AP_Notify Library. - * based upon a prototype library by David "Buzz" Bussenschutt. - */ - -/* - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - */ - -#ifndef __LED_H__ -#define __LED_H__ - -#include -#include "NotifyDevice.h" - -class Led: public NotifyDevice { -public: - virtual ~Led() {} - // init - initialised the LED - virtual bool init(void) = 0; - // update - updates led according to timed_updated. Should be - // called at 50Hz - virtual void update() = 0; -}; - -#endif //__LED_H__