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:
parent
e2550ee5e1
commit
53b7edd843
2 changed files with 3 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -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 \
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue