mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Merge pull request #1206 from marbalon/master
Added OSD alarms to MSP_SET_OSD_CONFIG
This commit is contained in:
commit
66be7a08ff
1 changed files with 4 additions and 0 deletions
|
@ -1588,6 +1588,10 @@ static bool processInCommand(void)
|
||||||
if ((int8_t)addr == -1) {
|
if ((int8_t)addr == -1) {
|
||||||
masterConfig.osdProfile.video_system = read8();
|
masterConfig.osdProfile.video_system = read8();
|
||||||
masterConfig.osdProfile.units = read8();
|
masterConfig.osdProfile.units = read8();
|
||||||
|
masterConfig.osdProfile.rssi_alarm = read8();
|
||||||
|
masterConfig.osdProfile.cap_alarm = read16();
|
||||||
|
masterConfig.osdProfile.time_alarm = read16();
|
||||||
|
masterConfig.osdProfile.alt_alarm = read16();
|
||||||
}
|
}
|
||||||
// set a position setting
|
// set a position setting
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue