Update UI fixes/improvements (#21089)

* Show latest update time

* utc

* make work more than once

* cleanup

* whitespace

* only while offroad
This commit is contained in:
Willem Melching
2021-05-31 15:33:49 +02:00
committed by GitHub
parent 6fe7fcd6e9
commit e66bbec52b
4 changed files with 38 additions and 11 deletions
+4
View File
@@ -43,6 +43,10 @@ public:
return get(key.c_str(), block);
}
inline std::string getParamsPath() {
return params_path;
}
template <class T>
std::optional<T> get(const char *key, bool block = false) {
std::istringstream iss(get(key, block));