@LIFsCode @EDsteve Just a note that I've moved some time helper functions out of main.cpp to a new file (time_utils.cpp) with this commit. I needed similar functions for the paramaters in EdegeImpulse.cpp & seemed better to move them so they can be re-used.
I think there maybe some more duplicate time code which could be centralised, but probably of low priority until bugs are sorted out.
@LIFsCode @EDsteve Just a note that I've moved some time helper functions out of main.cpp to a new file (time_utils.cpp) with this commit. I needed similar functions for the paramaters in EdegeImpulse.cpp & seemed better to move them so they can be re-used.
I think there maybe some more duplicate time code which could be centralised, but probably of low priority until bugs are sorted out.