Timeline for problem using #define to substitute functions
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2018 at 20:53 | comment | added | Randy | It seems that if I make the define BEFORE including any of my own saved library processes that use millis(), they do indeed re-compile with just my version. Thats good enough for me, and again a very convenient way of substituting a LOT without permanent editing. So perhaps I should just create a separate _millis() call that calls millis(), before my new definition, and just substitute the few places that need it with the underscore version. | |
Mar 16, 2018 at 20:18 | history | answered | Majenko | CC BY-SA 3.0 |