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:
parent
b4d18efc2f
commit
6d3867b01e
7 changed files with 35 additions and 9 deletions
|
@ -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++);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue