mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Renamed CLI setting blackbox_p_denom to blackbox_p_ratio
This commit is contained in:
parent
6bf755d0bd
commit
a9d56097d1
2 changed files with 2 additions and 2 deletions
|
@ -1701,7 +1701,7 @@ void blackboxInit(void)
|
|||
// by default p_denom is 32 and a P-frame is written every 1ms
|
||||
// if p_denom is zero then no P-frames are logged
|
||||
if (blackboxConfig()->p_denom == 0) {
|
||||
blackboxPInterval = 0;
|
||||
blackboxPInterval = 0; // blackboxPInterval not used when p_denom is zero, so just set it to zero
|
||||
} else if (blackboxConfig()->p_denom > blackboxIInterval && blackboxIInterval >= 32) {
|
||||
blackboxPInterval = 1;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue