Browse Source
The hardfault keeps track of the number of reboot without a commit to disk. A commit to disk is the act of writing the fault data from the bbsram to the hardfault file, not the ulog file. The sucessful commit rearms the hardfault system. When ulog appending was added it treated the lack of a ulog file as an error. This prevented the hardfault_log reset from being called because the hardfault_log commit returned an error. if hardfault_log check then if hardfault_log commit then hardfault_log reset fi fi This change treats the lack a a ulog as a non error.sbg
1 changed files with 15 additions and 4 deletions
Loading…
Reference in new issue