Skip to content
Snippets Groups Projects
Commit 572d1cef authored by Daniel Agar's avatar Daniel Agar
Browse files

test_mixer remove <limits> usage

 - <limits> isn't available in the NuttX c++ standard library
parent 755eb6a2
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,6 @@
* Mixer load test
*/
#include <limits>
#include <dirent.h>
#include <string.h>
#include <unistd.h>
......@@ -595,7 +594,7 @@ mixer_callback(uintptr_t handle, uint8_t control_group, uint8_t control_index, f
if (should_prearm && control_group == actuator_controls_s::GROUP_INDEX_ATTITUDE &&
control_index == actuator_controls_s::INDEX_THROTTLE) {
control = std::numeric_limits<float>::quiet_NaN();
control = NAN;
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment