New plugin: PwrMon: Trip Power Chart
I installed this plugin with the optional code to store the history, I set the sd card for history file, everything work fine until crash, After the the history file is empty. I use the plugin in a Peugeot iOn (mi vehicle type). This is plugin problem or the problem in the car code?
Tamás, that will happen if the crash occurs during the SD write operation. An option to minimize this is writing to a temporary file first and renaming that after completion, but that won't help if the crash occurs during the rename. A journalling file system would solve this, but afaik there is none available yet. I think I'll change the code to use a temp file, that should help in most cases. But crashes also are very infrequent now. Regards, Michael Am 15.02.20 um 17:18 schrieb Tamás Kovács:
I installed this plugin with the optional code to store the history, I set the sd card for history file, everything work fine until crash, After the the history file is empty. I use the plugin in a Peugeot iOn (mi vehicle type). This is plugin problem or the problem in the car code?
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
participants (2)
-
Michael Balzer -
Tamás Kovács