LIFsCode / ELOC-3.0

Firmware for ELOC 3.0 Hardware
MIT License
2 stars 3 forks source link

Time utility functions - centralise #67

Closed OOHehir closed 5 months ago

OOHehir commented 5 months ago

@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.