Closed
Description
The yield
macro is very ambiguous and therefore conflicts with other libraries that use yield
as a symbol.
Now, if other included code uses the identifier yield
it gets replaced by the macro. We currently have this issue with the 256dpi/arduino-mqtt#56 library.
The best approach would be to declare a function that simply forwards the call:
// Before
#define yield() vPortYield()
// After
void yield() {
vPortYield()
}
Metadata
Metadata
Assignees
Labels
No labels