resFirmwareUpdateFailed function
Implementation
void resFirmwareUpdateFailed(int error) {
final s = CLCmdFileHandleState();
s.process = 0;
s.state = 3;
s.code = error;
CLCmdFileHandle.state?.add(s);
slog('resFirmwareUpdateProgress: $error');
}