1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Removing USE_UNIFIED_TARGET...

This commit is contained in:
blckmn 2022-10-21 10:04:10 +11:00
parent c5468981e6
commit 3396013b53
19 changed files with 17 additions and 73 deletions

View file

@ -4962,7 +4962,7 @@ static void cliTasks(const char *cmdName, char *cmdline)
static void printVersion(const char *cmdName, bool printBoardInfo)
{
#if !(defined(USE_CUSTOM_DEFAULTS) && defined(USE_UNIFIED_TARGET))
#if !(defined(USE_CUSTOM_DEFAULTS))
UNUSED(cmdName);
UNUSED(printBoardInfo);
#endif
@ -4997,15 +4997,11 @@ static void printVersion(const char *cmdName, bool printBoardInfo)
cliPrintHashLine("config: YES");
}
} else {
#if defined(USE_UNIFIED_TARGET)
cliPrintError(cmdName, "NO CONFIG FOUND");
#else
cliPrintHashLine("NO CUSTOM DEFAULTS FOUND");
#endif // USE_UNIFIED_TARGET
}
#endif // USE_CUSTOM_DEFAULTS
#if defined(USE_UNIFIED_TARGET) && defined(USE_BOARD_INFO)
#if defined(USE_BOARD_INFO)
if (printBoardInfo && strlen(getManufacturerId()) && strlen(getBoardName())) {
cliPrintLinef("# board: manufacturer_id: %s, board_name: %s", getManufacturerId(), getBoardName());
}