1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

Add pilot name to INAV

- Renamed `name` variable used for craft name to `craftName`. The CLI and MSP have not changed. Only the internal variable name to make more specific.
- Added pilot name, which can be set in CLI using `pilot_name`.
- Added pilot name to OSD elements.
This commit is contained in:
Darren Lines 2023-01-19 15:48:47 +00:00
parent b4d18efc2f
commit 6d3867b01e
7 changed files with 35 additions and 9 deletions

View file

@ -1398,7 +1398,7 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
case MSP_NAME:
{
const char *name = systemConfig()->name;
const char *name = systemConfig()->craftName;
while (*name) {
sbufWriteU8(dst, *name++);
}