1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 03:50:02 +03:00
betaflight/make
Bruce Luckcuck 84b6730cdd Separate OSD warnings from OSD task and make available via MSP
Provides a properly implemented way for MSP query type OSD implementations (like DJI) to display OSD warnings. Separates the warnings generation from the OSD task and shares common code to make the text available for the OSD and/or via MSP. Eliminates the need to implement hacks and workarounds like using the `CRAFT_NAME` field to display warnings. Since the warnings logic is now separate, the OSD task does not need to be running unlike other hacks.

Adds the `MSP2_GET_OSD_WARNINGS` message formatted as follows:
```
byte  description
0     Display attributes including blink (see displayPortAttr_e in drivers/display.h)
1     Length of warning text
2-n   Warning text characters
```
2021-02-13 14:11:38 -05:00
..
mcu [H7] H723/H725 support 2020-11-11 23:45:15 +09:00
build_verbosity.mk remove not needed whitespaces 2017-08-24 11:33:39 +02:00
checks.mk Rename FAST_RAM to FAST_DATA 2020-08-23 08:49:26 +01:00
linux.mk Fix dfuse and python check 2020-10-13 01:52:21 +02:00
macosx.mk Fix dfuse and python check 2020-10-13 01:52:21 +02:00
openocd.mk remove not needed whitespaces 2017-08-24 11:33:39 +02:00
source.mk Separate OSD warnings from OSD task and make available via MSP 2021-02-13 14:11:38 -05:00
system-id.mk Simplified the Makefile OS detection output. 2020-10-25 12:08:32 +01:00
targets.mk [H7] H723/H725 support 2020-11-11 23:45:15 +09:00
targets_list.mk Added STM32F4DISCOVERY to the CI build. 2020-06-07 12:55:24 +12:00
tools.mk bump SDK to latest Update 2020-10-27 08:27:17 +01:00
windows.mk include the make arm_sdk_install target, for easy building 2016-09-02 19:56:15 -07:00