Save startup info in 'hf calypso dump'

This commit is contained in:
kormax committed 2026-05-30 14:20:59 +03:00
1 parent 32db41914d
commit c77c7c6d39
1 file changed
+3
+3
View File
@@ -4319,6 +4319,9 @@ static int calypso_dump_profile(calypso_dump_profile_t *dump_profile, calypso_rf
json_t *profile = json_object();
calypso_json_set_hex(profile, "serial", dump_profile->serial, sizeof(dump_profile->serial));
if (walk_selected.parsed.has_startup) {
calypso_json_set_hex(profile, "startupInfo", walk_selected.parsed.startup, sizeof(walk_selected.parsed.startup));
}
calypso_dump_add_profile_data_objects(profile);
json_t *nodes = json_array();
json_object_set_new(profile, "nodes", nodes);