You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS_LOGD(TAG, "Update requested for version %s", version.toString().c_str()); // TODO: This is abusing the SemVer::toString() method causing alot of string copies, fix this
OS_LOGD(TAG, "Remote version: %s", version.toString().c_str()); // TODO: This is abusing the SemVer::toString() method causing alot of string copies, fix this
335
331
}
336
332
337
-
if (version.toString() == OPENSHOCK_FW_VERSION) { // TODO: This is abusing the SemVer::toString() method causing alot of string copies, fix this
333
+
std::string versionStr = version.toString(); // TODO: This is abusing the SemVer::toString() method causing alot of string copies, fix this
334
+
335
+
if (versionStr == OPENSHOCK_FW_VERSION ""sv) {
338
336
OS_LOGI(TAG, "Requested version is already installed");
339
337
continue;
340
338
}
341
339
340
+
OS_LOGD(TAG, "Updating to version: %.*s", versionStr.length(), versionStr.data());
OS_LOGD(TAG, " Version: %s", version.toString().c_str());// TODO: This is abusing the SemVer::toString() method causing alot of string copies, fix this
0 commit comments