Revert "Revert "MPU Hal (#1492)""

This reverts commit 43345ba0bb.
This commit is contained in:
MX
2022-08-04 05:02:23 +03:00
parent 8f80999589
commit 04ceebc032
29 changed files with 238 additions and 62 deletions

View File

@@ -34,7 +34,7 @@ static void
Updater* updater_alloc(const char* arg) {
Updater* updater = malloc(sizeof(Updater));
if(arg) {
if(arg && strlen(arg)) {
string_init_set_str(updater->startup_arg, arg);
string_replace_str(updater->startup_arg, ANY_PATH(""), EXT_PATH(""));
} else {