Browse Source

AP_Semaphore: do not instantiate or export a global spi3 semaphore.

mission-4.1.18
Pat Hickey 13 years ago
parent
commit
c20a401c6a
  1. 3
      libraries/AP_Semaphore/AP_Semaphore.cpp
  2. 3
      libraries/AP_Semaphore/AP_Semaphore.h

3
libraries/AP_Semaphore/AP_Semaphore.cpp

@ -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()
{

3
libraries/AP_Semaphore/AP_Semaphore.h

@ -36,7 +36,4 @@ protected: @@ -36,7 +36,4 @@ protected:
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
Loading…
Cancel
Save