Browse Source

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.
zr-v5.1
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
d1f74faed7
  1. 3
      libraries/AP_Notify/AP_BoardLED.h
  2. 3
      libraries/AP_Notify/AP_BoardLED2.h
  3. 3
      libraries/AP_Notify/ExternalLED.h

3
libraries/AP_Notify/AP_BoardLED.h

@ -19,9 +19,6 @@ @@ -19,9 +19,6 @@
#include "NotifyDevice.h"
#define HIGH 1
#define LOW 0
class AP_BoardLED: public NotifyDevice
{
public:

3
libraries/AP_Notify/AP_BoardLED2.h

@ -21,9 +21,6 @@ @@ -21,9 +21,6 @@
#include "NotifyDevice.h"
#define HIGH 1
#define LOW 0
class AP_BoardLED2: public NotifyDevice
{
public:

3
libraries/AP_Notify/ExternalLED.h

@ -21,9 +21,6 @@ @@ -21,9 +21,6 @@
#include "NotifyDevice.h"
#define HIGH 1
#define LOW 0
class ExternalLED: public NotifyDevice
{
public:

Loading…
Cancel
Save