mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_Semaphore.h: proper h macros
This commit is contained in:
parent
b2b0b70d03
commit
6fc0d22671
@ -3,8 +3,8 @@
|
|||||||
/// @file AP_Semaphore.h
|
/// @file AP_Semaphore.h
|
||||||
/// @brief class to ensure conflicts over shared resources are avoided
|
/// @brief class to ensure conflicts over shared resources are avoided
|
||||||
|
|
||||||
#ifndef AP_SEMAPHORE
|
#ifndef __AP_SEMAPHORE_H__
|
||||||
#define AP_SEMAPHORE
|
#define __AP_SEMAPHORE_H__
|
||||||
|
|
||||||
#include <FastSerial.h>
|
#include <FastSerial.h>
|
||||||
#include <AP_Common.h>
|
#include <AP_Common.h>
|
||||||
@ -36,4 +36,4 @@ protected:
|
|||||||
ap_semaphore_callback _waiting_callback; // call back procedure of process waiting for sempahore
|
ap_semaphore_callback _waiting_callback; // call back procedure of process waiting for sempahore
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AP_SEMAPHORE
|
#endif // __AP_SEMAPHORE_H__
|
||||||
|
Loading…
Reference in New Issue
Block a user