mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 04:22:09 +08:00
Make timeout setting code reachable (#1509)
old-commit-hash: d8d490ef6d3ac849ae05d1183020fb469b218dcc
This commit is contained in:
+1
-1
@@ -190,8 +190,8 @@ static int read_param_uint64_timeout(uint64_t* dest, const char* param_name, int
|
||||
(*timeout)--;
|
||||
return 0;
|
||||
} else {
|
||||
return read_param_uint64(dest, param_name, persistent_param);
|
||||
*timeout = 2 * UI_FREQ; // 0.5Hz
|
||||
return read_param_uint64(dest, param_name, persistent_param);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user