Skip to content

Restart the camera after formatting the card and restoring ML

Alex requested to merge branch/format-restart into branch/unified

There might be a link between formatting the card + restoring ML, and filesystem problems (source)

I don't know if it's true, and if it is, what part of the code is the culprit, so any hints regarding this issue will be appreciated. Unfortunately, it's not something easy to reproduce, but since it results in filesystem corruption, it should be investigated.

Regardless, intuition tells me it's better not to rely on a re-mounted filesystem (as this part of the code gets little testing coverage), so this PR restarts the camera after formatting (which I always do anyway). Tested on 60D.

Merge request reports