unfinished changes, just to be able to transfer files
This commit is contained in:
@@ -886,13 +886,13 @@
|
||||
// Try to be compatible with systems that support yield() and multitasking
|
||||
// instead of spin-loops
|
||||
// Recent Arduino IDE or Teensy 3 has yield()
|
||||
#if (RH_PLATFORM == RH_PLATFORM_ARDUINO && ARDUINO >= 155 && !defined(RH_PLATFORM_ATTINY)) || (TEENSYDUINO && defined(__MK20DX128__))
|
||||
#if (RH_PLATFORM == RH_PLATFORM_ARDUINO && ARDUINO >= 155 && !defined(RH_PLATFORM_ATTINY)) || (defined(TEENSYDUINO) && TEENSYDUINO && defined(__MK20DX128__))
|
||||
#define YIELD yield();
|
||||
#elif (RH_PLATFORM == RH_PLATFORM_ESP8266)
|
||||
// ESP8266 also hash it
|
||||
// freertos/include/freertos/task.h
|
||||
// #include "freertos/task.h"
|
||||
#define YIELD
|
||||
#define YIELD
|
||||
#else
|
||||
#define YIELD
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user