Commit Graph

3 Commits

Author SHA1 Message Date
Gabriele Russo 8f2644044e Duplicated include; improved shutdown.c; store backup without power switch;
commands.c: delete duplicated "mc_interface.h" include
shutdown.c/shutdown.h/main.c:
- reducing possibility to write backup data frequently, now requires  minimum distance to be traveled before it enables storing, common condition if push to start is enabled with a low shutdown time, say 10s, or in any other condition where user turn on/off ESC a lot of times. Saves chip life at the cost of not having updated data during very short trips.
- Data is stored even when using "always on"
- Introducing possibility to store data without a power-switch by using a combination of trip distance and inactivity timer. It can be deactivated by using "always off" in app setting  Shutdown Mode.
2023-05-03 02:39:57 +02:00
Benjamin Vedder 70c58f2b7c First CAN log support, added foc voltage and current extensions 2022-10-23 18:35:26 +02:00
Benjamin Vedder ba5268f048 Moved shutdown to hwconf 2022-05-15 12:04:38 +02:00