mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
FIX: Adding RP2350B as MCU type and correcting lookup table error (#14138)
This commit is contained in:
parent
076d8d20ec
commit
c91e4214eb
3 changed files with 20 additions and 8 deletions
|
@ -280,7 +280,7 @@ static const char * const *sensorHardwareNames[] = {
|
|||
#endif // USE_SENSOR_NAMES
|
||||
|
||||
// Needs to be aligned with mcuTypeId_e
|
||||
static const char *mcuTypeNames[] = {
|
||||
static const char *mcuTypeNames[MCU_TYPE_COUNT] = {
|
||||
"SIMULATOR",
|
||||
"F40X",
|
||||
"F411",
|
||||
|
@ -298,9 +298,11 @@ static const char *mcuTypeNames[] = {
|
|||
"H723/H725",
|
||||
"G474",
|
||||
"H730",
|
||||
"AT32F435",
|
||||
"AT32F435G",
|
||||
"APM32F405",
|
||||
"APM32F407",
|
||||
"AT32F435M",
|
||||
"RP2350B",
|
||||
};
|
||||
|
||||
static const char *configurationStates[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue