I noticed something curious today which is my class' setup() function is called after I save the cpp file, but not when saving the header file. This is the opposite of what I'd expect -- if the header is changed the object is re-instantiated, then this is when setup() should be called, no? And when modifying the cpp then only the updated function's pointer is updated? Not sure if I'm thinking about this backwards, or my build setup isn't working correct, or if there's a bug somewhere. Thanks!
I noticed something curious today which is my class'
setup()
function is called after I save the cpp file, but not when saving the header file. This is the opposite of what I'd expect -- if the header is changed the object is re-instantiated, then this is whensetup()
should be called, no? And when modifying the cpp then only the updated function's pointer is updated? Not sure if I'm thinking about this backwards, or my build setup isn't working correct, or if there's a bug somewhere. Thanks!