mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SerialManager: replace header guard with pragma once
This commit is contained in:
parent
336e04ca60
commit
d82369b293
@ -20,9 +20,7 @@
|
|||||||
serial ports and provides helper functions so objects (like a gimbal) can
|
serial ports and provides helper functions so objects (like a gimbal) can
|
||||||
find which serial port they should use
|
find which serial port they should use
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef _AP_SERIALMANAGER_
|
|
||||||
#define _AP_SERIALMANAGER_
|
|
||||||
|
|
||||||
#include <AP_Math/AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
@ -131,5 +129,3 @@ private:
|
|||||||
// protocol_match - returns true if the protocols match
|
// protocol_match - returns true if the protocols match
|
||||||
bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const;
|
bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _AP_SERIALMANAGER_
|
|
||||||
|
Loading…
Reference in New Issue
Block a user