[actuators] throw informative error if still attempting to use MIN|MAX_MOTOR with new motor_mixing

This commit is contained in:
Felix Ruess
2013-01-16 17:35:15 +01:00
parent 49f28d4529
commit 82af4d1d55
@@ -37,6 +37,9 @@
#define INT32_MAX (2147483647)
#endif
#if defined MOTOR_MIXING_MIN_MOTOR || defined MOTOR_MIXING_MAX_MOTOR
#error MIN_MOTOR and MAX_MOTOR have to be set via neutral/max of the respective servo
#endif
#define MOTOR_MIXING_MIN_MOTOR 0
#define MOTOR_MIXING_MAX_MOTOR MAX_PPRZ