mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Merge pull request #10079 from Asizon/add_vbatSag_to_bbheader
Added vbat_sag_compensation to Blackbox header
This commit is contained in:
commit
d3ad63a50b
1 changed files with 5 additions and 1 deletions
|
@ -1471,6 +1471,10 @@ static bool blackboxWriteSysinfo(void)
|
||||||
|
|
||||||
BLACKBOX_PRINT_HEADER_LINE("fields_disabled_mask", "%d", blackboxConfig()->fields_disabled_mask);
|
BLACKBOX_PRINT_HEADER_LINE("fields_disabled_mask", "%d", blackboxConfig()->fields_disabled_mask);
|
||||||
|
|
||||||
|
#ifdef USE_BATTERY_VOLTAGE_SAG_COMPENSATION
|
||||||
|
BLACKBOX_PRINT_HEADER_LINE("vbat_sag_compensation", "%d", currentPidProfile->vbat_sag_compensation);
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue