This commit is contained in:
2026-02-27 12:32:02 +01:00
parent e7318b9c62
commit 20d2a94366
3 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
VERSION_MAJOR = 0
VERSION_MINOR = 0
PATCHLEVEL = 12
VERSION_MINOR = 1
PATCHLEVEL = 0
VERSION_TWEAK = 0
EXTRAVERSION = 0

View File

@@ -75,7 +75,7 @@ int send_info()
LOG_ERR("Failed to get filesystem stats: %d", rc);
return -rc;
}
snprintf(info, sizeof(info), "%u;%s;%lu;%lu;%lu\n", PROTOCOL_VERSION, APP_VERSION_STRING, stat.f_frsize, stat.f_blocks, stat.f_bfree);
snprintf(info, sizeof(info), "%u;%s;%lu;%lu;%lu;%s\n", PROTOCOL_VERSION, APP_VERSION_STRING, stat.f_frsize, stat.f_blocks, stat.f_bfree, boot_is_img_confirmed() ? "CONFIRMED" : "UNCONFIRMED");
usb_write_buffer((const uint8_t *)info, strlen(info));
return 0;
}
@@ -275,6 +275,7 @@ int confirm_firmware() {
return rc;
}
LOG_INF("Firmware confirmed successfully");
audio_play("/lfs/sys/confirm");
return 0;
}