Closed Gabrielerusso closed 11 months ago
Tested in those weeks with 4 escs and different configuration, 2 with power switch and 2 without, now i was able to save data, like the odometer without problems even in the version without the power switch.
Please merge this. This also solves my https://github.com/vedderb/bldc/issues/638 problem, as the only reason I need it is to store odometer data without software shutdown.
commands.c:
shutdown.c / shutdown.h / main.c:
Compiled almost all version without issues, tested on my custom esc with different combinations (with power switch, without power switch) and it seems to work well.