mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Minor tidy of PID code
This commit is contained in:
parent
247a88be50
commit
c1a99817f4
6 changed files with 23 additions and 20 deletions
|
@ -420,7 +420,7 @@ static long cmsx_CopyPidProfile(displayPort_t *pDisplay, const void *ptr)
|
|||
UNUSED(ptr);
|
||||
|
||||
if (cmsx_dstPidProfile > 0) {
|
||||
copyPidProfile(cmsx_dstPidProfile - 1, getCurrentPidProfileIndex());
|
||||
pidCopyProfile(cmsx_dstPidProfile - 1, getCurrentPidProfileIndex());
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue