mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:58:48 +08:00
[energy_control] use CONTROL_FREQUENCY instead of hardcoded 100HZ
This commit is contained in:
@@ -283,7 +283,7 @@ void v_ctl_altitude_loop( void )
|
||||
* \brief
|
||||
*/
|
||||
|
||||
const float dt = 0.01f;
|
||||
const float dt = CONTROL_FREQUENCY;
|
||||
|
||||
float lp_vdot[5];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user