Improve FAI sensor handling (#7801)

Display specific FAI message on forbiden sensors
This commit is contained in:
3djc
2020-07-07 15:35:09 +02:00
committed by GitHub
parent 2af5881f3e
commit 94ba22a74d
3 changed files with 13 additions and 3 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
#ifndef OPENTX_OPTIONS_H
#define OPENTX_OPTIONS_H
static const char * options[] = {
static const char * const options[] = {
#if defined(AUTOUPDATE)
"autoupdate",
#endif
@@ -33,10 +33,10 @@ static const char * options[] = {
"eu",
#endif
#if defined(FAI)
"faimode",
"FAImode",
#endif
#if defined(FAI_CHOICE)
"faichoice",
"FAIchoice",
#endif
#if defined(MODULE_PROTOCOL_FLEX)
"flexr9m",