mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Added MCU id / name for STM32G474.
This commit is contained in:
parent
87955d9734
commit
687c7014c0
3 changed files with 5 additions and 1 deletions
|
@ -308,6 +308,7 @@ static const char *mcuTypeNames[] = {
|
|||
"H743 (Rev.V)",
|
||||
"H7A3",
|
||||
"H723/H725",
|
||||
"G474",
|
||||
};
|
||||
|
||||
static const char *configurationStates[] = { "UNCONFIGURED", "CUSTOM DEFAULTS", "CONFIGURED" };
|
||||
|
@ -4664,7 +4665,7 @@ STATIC_UNIT_TESTED void cliSet(const char *cmdName, char *cmdline)
|
|||
}
|
||||
}
|
||||
|
||||
const char *getMcuTypeById(mcuTypeId_e id)
|
||||
static const char *getMcuTypeById(mcuTypeId_e id)
|
||||
{
|
||||
if (id < MCU_TYPE_UNKNOWN) {
|
||||
return mcuTypeNames[id];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue