Last week I came for help with a large (not my) sketch and got some wisdom about the behaviour of the pre-processor. I was able to get back on track.
Imagine my distress when, as far as I can remember, I get out the same program to do a bit more work on it and am newly met with reams of errors like
hubsan:11: error: 'hubsan_init' was not declared in this scope
Now I certainly understand the message - this is a sloppy program relying on hidden agendas. What I do not understand is what tiny innocent change I might have made to make these errors, well, errors, where just recently they flew fine.
I know that a first error can make a subsequent cascade of spurious errors, but I find no error I might have introduced to do so.
I know I must have done more than get out the sketch from last time, when it compiled just fine! It bears a comment 'changed only so it will compile', which it did. But I must have touched some super sensitive nerve.
I could carefully fix this sketch to have proper declarations in all the right places. My confidence that doing so would resolve the (real?) problem is low, as is my time and patience for doing.
It almost feels like a missing tab, or one that isn't being considered. Or a global switch for, I don't know, lazy easy forgiving compilation vs. strictly by the book.
I would appreciate an idea of where I might best spend my time on this - right now I probably should be... skiing.