Align with changes on main branch

See #942
This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:02 +01:00
parent 682aabacec
commit 5f2fb4386c
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -830,7 +830,9 @@ enum Functions {
FUNC_BACKLIGHT, FUNC_BACKLIGHT,
FUNC_SCREENSHOT, FUNC_SCREENSHOT,
FUNC_RACING_MODE, FUNC_RACING_MODE,
#if defined(COLORLCD)
FUNC_DISABLE_TOUCH, FUNC_DISABLE_TOUCH,
#endif
#if defined(DEBUG) #if defined(DEBUG)
FUNC_TEST, // should remain the last before MAX as not added in Companion FUNC_TEST, // should remain the last before MAX as not added in Companion
#endif #endif
@@ -66,6 +66,7 @@ const struct YamlIdStr enum_Functions[] = {
{ FUNC_BACKLIGHT, "BACKLIGHT" }, { FUNC_BACKLIGHT, "BACKLIGHT" },
{ FUNC_SCREENSHOT, "SCREENSHOT" }, { FUNC_SCREENSHOT, "SCREENSHOT" },
{ FUNC_RACING_MODE, "RACING_MODE" }, { FUNC_RACING_MODE, "RACING_MODE" },
{ FUNC_DISABLE_TOUCH, "DISABLE_TOUCH" },
{ 0, NULL } { 0, NULL }
}; };
const struct YamlIdStr enum_UartModes[] = { const struct YamlIdStr enum_UartModes[] = {
@@ -66,6 +66,7 @@ const struct YamlIdStr enum_Functions[] = {
{ FUNC_BACKLIGHT, "BACKLIGHT" }, { FUNC_BACKLIGHT, "BACKLIGHT" },
{ FUNC_SCREENSHOT, "SCREENSHOT" }, { FUNC_SCREENSHOT, "SCREENSHOT" },
{ FUNC_RACING_MODE, "RACING_MODE" }, { FUNC_RACING_MODE, "RACING_MODE" },
{ FUNC_DISABLE_TOUCH, "DISABLE_TOUCH" },
{ 0, NULL } { 0, NULL }
}; };
const struct YamlIdStr enum_UartModes[] = { const struct YamlIdStr enum_UartModes[] = {