Fix debugging

This commit is contained in:
MX 2023-05-14 20:19:47 +03:00
parent 523c63fec7
commit d4bfc3f225
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -16,11 +16,11 @@ struct Version {
const char* git_hash; const char* git_hash;
const char* git_branch; const char* git_branch;
const char* build_date; const char* build_date;
const char* custom_flipper_name;
const char* version; const char* version;
// Payload bits and pieces // Payload bits and pieces
const uint8_t target; const uint8_t target;
const bool build_is_dirty; const bool build_is_dirty;
const char* custom_flipper_name;
}; };
/* version of current running firmware (bootloader/flipper) */ /* version of current running firmware (bootloader/flipper) */
@ -31,7 +31,6 @@ static Version version = {
.git_hash = GIT_COMMIT, .git_hash = GIT_COMMIT,
.git_branch = GIT_BRANCH, .git_branch = GIT_BRANCH,
.build_date = BUILD_DATE, .build_date = BUILD_DATE,
.custom_flipper_name = NULL,
.version = VERSION .version = VERSION
#ifdef FURI_RAM_EXEC #ifdef FURI_RAM_EXEC
" (RAM)" " (RAM)"
@ -39,6 +38,7 @@ static Version version = {
, ,
.target = TARGET, .target = TARGET,
.build_is_dirty = BUILD_DIRTY, .build_is_dirty = BUILD_DIRTY,
.custom_flipper_name = NULL,
}; };
const Version* version_get(void) { const Version* version_get(void) {