File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ public: \
82
82
#define ARDUINO_THREADS_CONCAT_ (x,y ) x##y
83
83
#define ARDUINO_THREADS_CONCAT (x,y ) ARDUINO_THREADS_CONCAT_(x,y)
84
84
85
+ #define ARDUINO_THREADS_TO_STRING (sequence ) #sequence
86
+
85
87
/* *************************************************************************************
86
88
* CLASS DECLARATION
87
89
**************************************************************************************/
88
90
89
- #define _macroToString (sequence ) #sequence
90
-
91
91
class Arduino_Threads
92
92
{
93
93
public:
@@ -123,7 +123,7 @@ class Arduino_Threads
123
123
124
124
#define THD_ENTER (tabname ) class ARDUINO_THREADS_CONCAT (tabname, Class) : public Arduino_Threads { \
125
125
public: \
126
- ARDUINO_THREADS_CONCAT (tabname, Class)() { _tabname = _macroToString (tabname); } \
126
+ ARDUINO_THREADS_CONCAT (tabname, Class)() { _tabname = ARDUINO_THREADS_TO_STRING (tabname); } \
127
127
private: \
128
128
129
129
#define THD_DONE (tabname ) \
You can’t perform that action at this time.
0 commit comments