1
0
Fork 0
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:
Jay Blackman 2025-01-11 06:01:04 +11:00 committed by GitHub
parent 076d8d20ec
commit c91e4214eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 8 deletions

View file

@ -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[] = {