Updated YAML data structs

This commit is contained in:
Raphael Coeffic
2021-11-10 11:06:59 +01:00
parent d2ddb2e535
commit fa521fa1da
2 changed files with 6 additions and 4 deletions
@@ -29,7 +29,7 @@ const struct YamlIdStr enum_Functions[] = {
{ FUNC_LOGS, "LOGS" },
{ FUNC_BACKLIGHT, "BACKLIGHT" },
{ FUNC_SCREENSHOT, "SCREENSHOT" },
{ FUNC_DISABLE_TOUCH, "DISABLE_TOUCH" },
{ FUNC_RACING_MODE, "RACING_MODE" },
{ FUNC_MAX, "MAX" },
{ 0, NULL }
};
@@ -559,7 +559,8 @@ static const struct YamlNode struct_string_64[] = {
YAML_END
};
static const struct YamlNode struct_anonymous_9[] = {
YAML_UNSIGNED( "receivers", 8 ),
YAML_UNSIGNED( "receivers", 7 ),
YAML_UNSIGNED( "racingMode", 1 ),
YAML_ARRAY("receiverName", 64, 3, struct_string_64, NULL),
YAML_END
};
@@ -29,7 +29,7 @@ const struct YamlIdStr enum_Functions[] = {
{ FUNC_LOGS, "LOGS" },
{ FUNC_BACKLIGHT, "BACKLIGHT" },
{ FUNC_SCREENSHOT, "SCREENSHOT" },
{ FUNC_DISABLE_TOUCH, "DISABLE_TOUCH" },
{ FUNC_RACING_MODE, "RACING_MODE" },
{ FUNC_MAX, "MAX" },
{ 0, NULL }
};
@@ -560,7 +560,8 @@ static const struct YamlNode struct_string_64[] = {
YAML_END
};
static const struct YamlNode struct_anonymous_9[] = {
YAML_UNSIGNED( "receivers", 8 ),
YAML_UNSIGNED( "receivers", 7 ),
YAML_UNSIGNED( "racingMode", 1 ),
YAML_ARRAY("receiverName", 64, 3, struct_string_64, NULL),
YAML_END
};