From d1f74faed72bc6ea2c775bcfc45fd9b43da22d6c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 27 Feb 2020 09:18:13 +1100 Subject: [PATCH] AP_Notify: remove bad HIGH/LOW defines These are just terrible defines to have in a header which can be included into random files. These symbols can confuse construction of enumerations, for example. --- libraries/AP_Notify/AP_BoardLED.h | 3 --- libraries/AP_Notify/AP_BoardLED2.h | 3 --- libraries/AP_Notify/ExternalLED.h | 3 --- 3 files changed, 9 deletions(-) diff --git a/libraries/AP_Notify/AP_BoardLED.h b/libraries/AP_Notify/AP_BoardLED.h index a6eaaa1361..0baa335c60 100644 --- a/libraries/AP_Notify/AP_BoardLED.h +++ b/libraries/AP_Notify/AP_BoardLED.h @@ -19,9 +19,6 @@ #include "NotifyDevice.h" -#define HIGH 1 -#define LOW 0 - class AP_BoardLED: public NotifyDevice { public: diff --git a/libraries/AP_Notify/AP_BoardLED2.h b/libraries/AP_Notify/AP_BoardLED2.h index 06b82238aa..40273ba6c7 100644 --- a/libraries/AP_Notify/AP_BoardLED2.h +++ b/libraries/AP_Notify/AP_BoardLED2.h @@ -21,9 +21,6 @@ #include "NotifyDevice.h" -#define HIGH 1 -#define LOW 0 - class AP_BoardLED2: public NotifyDevice { public: diff --git a/libraries/AP_Notify/ExternalLED.h b/libraries/AP_Notify/ExternalLED.h index e4a301617d..6c1b145d1d 100644 --- a/libraries/AP_Notify/ExternalLED.h +++ b/libraries/AP_Notify/ExternalLED.h @@ -21,9 +21,6 @@ #include "NotifyDevice.h" -#define HIGH 1 -#define LOW 0 - class ExternalLED: public NotifyDevice { public: