|
|
|
@ -13,9 +13,6 @@ extern "C" {
@@ -13,9 +13,6 @@ extern "C" {
|
|
|
|
|
#include "WConstants.h" |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
// include some global constants
|
|
|
|
|
AP_Semaphore AP_Semaphore_spi3; |
|
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
|
AP_Semaphore::AP_Semaphore() |
|
|
|
|
{ |
|
|
|
@ -78,4 +75,4 @@ bool AP_Semaphore::call_on_release(void* caller, ap_semaphore_callback callback_
@@ -78,4 +75,4 @@ bool AP_Semaphore::call_on_release(void* caller, ap_semaphore_callback callback_
|
|
|
|
|
} |
|
|
|
|
sei(); |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|