arachnidlabs / reload-pro

Schematics and code for the Re:load Pro
http://www.arachnidlabs.com/reload-pro/
Apache License 2.0
98 stars 32 forks source link

Adding 'clear' command to reset totals #98

Closed Ralim closed 7 years ago

Ralim commented 7 years ago

Hi, Hopefully, this should be okay. This just adds the 'clear' command to allow serial control to reset the totals in the unit (mAh and mWh). It just calls the same reset_running_totals() function as the main menu.

Let me know if there is anything I can improve.

Thanks, Ralim

Arachnid commented 7 years ago

Thanks for the PR! It looks good; have you tested it on the device?

Ralim commented 7 years ago

I have been using it on my device at the moment and it seems to work fine as far as I have noticed?