1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 04:15:44 +03:00

Add the name of the fork to the output of the cli version command.

This commit is contained in:
Dominic Clifton 2014-04-23 00:01:07 +01:00
parent e2550ee5e1
commit 53b7edd843
2 changed files with 3 additions and 2 deletions

View file

@ -168,7 +168,8 @@ BASE_CFLAGS = $(ARCH_FLAGS) \
-fdata-sections \
-DSTM32F10X_MD \
-DUSE_STDPERIPH_DRIVER \
-D$(TARGET)
-D$(TARGET) \
-D'__FORKNAME__="$(FORKNAME)"'
ASFLAGS = $(ARCH_FLAGS) \
-x assembler-with-cpp \

View file

@ -1013,7 +1013,7 @@ static void cliStatus(char *cmdline)
static void cliVersion(char *cmdline)
{
cliPrint("Afro32 CLI version 2.2 " __DATE__ " / " __TIME__);
cliPrint("Afro32 CLI version 2.2 " __DATE__ " / " __TIME__ " - (" __FORKNAME__ ")");
}
void cliProcess(void)