diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-11-04 18:54:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-29 00:04:48 +0200 |
commit | 8c8dea63c72e98632315c1eea5170801932f5f97 (patch) | |
tree | 2a5b8e5817f250bf53ec1171ed2a850defe4ecd7 | |
parent | e36a7f7fd5f64b7f2c2abafc87d96631d1aa3415 (diff) |
tracker/trackhat: retry on reg write timeout (firmware bug)
-rw-r--r-- | tracker-trackhat/settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-trackhat/settings.cpp b/tracker-trackhat/settings.cpp index a5998fdc..8a58156e 100644 --- a/tracker-trackhat/settings.cpp +++ b/tracker-trackhat/settings.cpp @@ -90,6 +90,8 @@ start: continue; else if (status == TH_FAILED_TO_SET_REGISTER) goto retry; + else if (status == TH_ERROR_DEVICE_COMUNICATION_TIMEOUT) + goto retry; else goto error; } |