One can cover the BS, but it still stinks.
"#undef micros" would do nothing meaningful in this case, because micros() is a function (dealt by compiler), not a preprocessor definition.
If you want to replace that function, you have to rewrite it (with or without 'inline').
'Inline' is just an optimization for speed (at a cost of size).
Or just use a text editor and use the magic Find&Replace ... or a fancy code refactoring in a useful IDE (that means not Arduino IDE).

"#undef micros" would do nothing meaningful in this case, because micros() is a function (dealt by compiler), not a preprocessor definition.
If you want to replace that function, you have to rewrite it (with or without 'inline').
'Inline' is just an optimization for speed (at a cost of size).
Or just use a text editor and use the magic Find&Replace ... or a fancy code refactoring in a useful IDE (that means not Arduino IDE).
Statistics: Posted by gmx — Sat Oct 05, 2024 2:30 am