1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Rename freq parameter; remove UT warnings

This commit is contained in:
Joel Fuster 2015-01-04 22:15:09 -05:00
parent dc3271255c
commit 06ce23951b
5 changed files with 12 additions and 8 deletions

View file

@ -127,7 +127,7 @@ TEST(MixerTest, ServoLowpassFilter)
printf("*** Testing freq: %d (%f)\n", freq, ((float)freq * 0.001f));
mixerConfig.servo_lowpass_enable = 1;
mixerConfig.servo_lowpass_freq_idx = freq;
mixerConfig.servo_lowpass_freq = freq;
mixerUseConfigs(servoConfig, NULL, NULL, &mixerConfig, NULL, NULL, NULL);
// Run tests