Browse Source

AP_SerialManager: replace header guard with pragma once

master
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
d82369b293
  1. 6
      libraries/AP_SerialManager/AP_SerialManager.h

6
libraries/AP_SerialManager/AP_SerialManager.h

@ -20,9 +20,7 @@ @@ -20,9 +20,7 @@
serial ports and provides helper functions so objects (like a gimbal) can
find which serial port they should use
*/
#ifndef _AP_SERIALMANAGER_
#define _AP_SERIALMANAGER_
#pragma once
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
@ -131,5 +129,3 @@ private: @@ -131,5 +129,3 @@ private:
// protocol_match - returns true if the protocols match
bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const;
};
#endif // _AP_SERIALMANAGER_

Loading…
Cancel
Save