AP_Semaphore: do not instantiate or export a global spi3 semaphore.
This commit is contained in:
parent
dfcbb6d9e9
commit
c20a401c6a
@ -13,9 +13,6 @@ extern "C" {
|
|||||||
#include "WConstants.h"
|
#include "WConstants.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// include some global constants
|
|
||||||
AP_Semaphore AP_Semaphore_spi3;
|
|
||||||
|
|
||||||
// Constructor
|
// Constructor
|
||||||
AP_Semaphore::AP_Semaphore()
|
AP_Semaphore::AP_Semaphore()
|
||||||
{
|
{
|
||||||
|
@ -36,7 +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
|
||||||
};
|
};
|
||||||
|
|
||||||
// some global semaphores
|
|
||||||
extern AP_Semaphore AP_Semaphore_spi3;
|
|
||||||
|
|
||||||
#endif // AP_SEMAPHORE
|
#endif // AP_SEMAPHORE
|
Loading…
Reference in New Issue
Block a user