Unverified Commit 71238ccd authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Clean up CoreMutex and __isFreeRTOS definition (#1312)

See #1311 for more info.  __isFreeRTOS is C++ linkage and only used
in the core proper (all C++).
parent 1dfd9eba
...@@ -84,13 +84,13 @@ void analogWriteFreq(uint32_t freq); ...@@ -84,13 +84,13 @@ void analogWriteFreq(uint32_t freq);
void analogWriteRange(uint32_t range); void analogWriteRange(uint32_t range);
void analogWriteResolution(int res); void analogWriteResolution(int res);
// FreeRTOS potential calls
extern bool __isFreeRTOS;
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"
#endif #endif
// FreeRTOS potential calls
extern bool __isFreeRTOS;
// Ancient AVR defines // Ancient AVR defines
#define HAVE_HWSERIAL0 #define HAVE_HWSERIAL0
#define HAVE_HWSERIAL1 #define HAVE_HWSERIAL1
......
...@@ -43,5 +43,5 @@ public: ...@@ -43,5 +43,5 @@ public:
private: private:
mutex_t *_mutex; mutex_t *_mutex;
bool _acquired; bool _acquired;
u_int8_t _option; uint8_t _option;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment