Skip to content

Commit b05fb4a

Browse files
authored
fix(color): shortcut override and quick menu favorites not saved to YAML files (#6833)
1 parent 781f6d9 commit b05fb4a

11 files changed

+22
-22
lines changed

radio/src/storage/yaml/yaml_datastructs_f16.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ static const struct YamlNode struct_RadioData[] = {
447447
YAML_UNSIGNED( "modelQuickSelect", 1 ),
448448
YAML_PADDING( 5 ),
449449
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
450-
YAML_PADDING( 48 ),
451-
YAML_PADDING( 96 ),
450+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
451+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
452452
YAML_END
453453
};
454454
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_nb4p.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ static const struct YamlNode struct_RadioData[] = {
438438
YAML_UNSIGNED( "modelQuickSelect", 1 ),
439439
YAML_PADDING( 5 ),
440440
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
441-
YAML_PADDING( 48 ),
442-
YAML_PADDING( 96 ),
441+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
442+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
443443
YAML_END
444444
};
445445
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_nv14.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ static const struct YamlNode struct_RadioData[] = {
445445
YAML_UNSIGNED( "modelQuickSelect", 1 ),
446446
YAML_PADDING( 5 ),
447447
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
448-
YAML_PADDING( 48 ),
449-
YAML_PADDING( 96 ),
448+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
449+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
450450
YAML_END
451451
};
452452
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_pa01.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ static const struct YamlNode struct_RadioData[] = {
470470
YAML_UNSIGNED( "modelQuickSelect", 1 ),
471471
YAML_PADDING( 5 ),
472472
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
473-
YAML_PADDING( 48 ),
474-
YAML_PADDING( 96 ),
473+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
474+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
475475
YAML_END
476476
};
477477
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_pl18.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ static const struct YamlNode struct_RadioData[] = {
445445
YAML_UNSIGNED( "modelQuickSelect", 1 ),
446446
YAML_PADDING( 5 ),
447447
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
448-
YAML_PADDING( 48 ),
449-
YAML_PADDING( 96 ),
448+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
449+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
450450
YAML_END
451451
};
452452
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_pl18u.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ static const struct YamlNode struct_RadioData[] = {
438438
YAML_UNSIGNED( "modelQuickSelect", 1 ),
439439
YAML_PADDING( 5 ),
440440
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
441-
YAML_PADDING( 48 ),
442-
YAML_PADDING( 96 ),
441+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
442+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
443443
YAML_END
444444
};
445445
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_st16.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ static const struct YamlNode struct_RadioData[] = {
470470
YAML_UNSIGNED( "modelQuickSelect", 1 ),
471471
YAML_PADDING( 5 ),
472472
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
473-
YAML_PADDING( 48 ),
474-
YAML_PADDING( 96 ),
473+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
474+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
475475
YAML_END
476476
};
477477
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_t15.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@ static const struct YamlNode struct_RadioData[] = {
455455
YAML_UNSIGNED( "modelQuickSelect", 1 ),
456456
YAML_PADDING( 5 ),
457457
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
458-
YAML_PADDING( 48 ),
459-
YAML_PADDING( 96 ),
458+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
459+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
460460
YAML_END
461461
};
462462
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_t15pro.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ static const struct YamlNode struct_RadioData[] = {
470470
YAML_UNSIGNED( "modelQuickSelect", 1 ),
471471
YAML_PADDING( 5 ),
472472
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
473-
YAML_PADDING( 48 ),
474-
YAML_PADDING( 96 ),
473+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
474+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
475475
YAML_END
476476
};
477477
static const struct YamlNode struct_unsigned_8[] = {

radio/src/storage/yaml/yaml_datastructs_tx15.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ static const struct YamlNode struct_RadioData[] = {
470470
YAML_UNSIGNED( "modelQuickSelect", 1 ),
471471
YAML_PADDING( 5 ),
472472
YAML_UNSIGNED( "pwrOffIfInactive", 8 ),
473-
YAML_PADDING( 48 ),
474-
YAML_PADDING( 96 ),
473+
YAML_ARRAY("keyShortcuts", 8, 6, struct_QuickMenuPage, NULL),
474+
YAML_ARRAY("qmFavorites", 8, 12, struct_QuickMenuPage, NULL),
475475
YAML_END
476476
};
477477
static const struct YamlNode struct_unsigned_8[] = {

0 commit comments

Comments
 (0)