Support reading and writing yaml settings from/to radio
This commit is contained in:
committed by
Raphael Coeffic
parent
6b8175835b
commit
cade5c3529
@@ -486,6 +486,9 @@ int Boards::getCapability(Board::Type board, Board::Capability capability)
|
||||
case NumFunctionSwitches:
|
||||
return IS_JUMPER_TPRO(board) ? 6 : 0;
|
||||
|
||||
case HasSDCard:
|
||||
return IS_STM32(board);
|
||||
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,8 @@ namespace Board {
|
||||
NumTrimSwitches,
|
||||
HasRTC,
|
||||
HasColorLcd,
|
||||
NumFunctionSwitches
|
||||
NumFunctionSwitches,
|
||||
HasSDCard
|
||||
};
|
||||
|
||||
struct SwitchInfo
|
||||
|
||||
@@ -164,7 +164,8 @@ enum Capability {
|
||||
HasTelemetryBaudrate,
|
||||
TopBarZones,
|
||||
FunctionSwitches,
|
||||
HasModelList
|
||||
Has,
|
||||
HasModelsList
|
||||
};
|
||||
|
||||
class EEPROMInterface
|
||||
|
||||
Reference in New Issue
Block a user