IO firmware: Convert magic numbers to defines

This is necessary to allow more and better unit testing.
This commit is contained in:
Lorenz Meier
2017-01-03 20:32:33 -05:00
committed by Daniel Agar
parent e395c1f3d7
commit d401252c9e
5 changed files with 55 additions and 7 deletions
+2 -1
View File
@@ -57,7 +57,8 @@
/*
* Constants and limits.
*/
#define PX4IO_SERVO_COUNT 8
#define PX4IO_BL_VERSION 3
#define PX4IO_SERVO_COUNT 8
#define PX4IO_CONTROL_CHANNELS 8
#define PX4IO_CONTROL_GROUPS 4
#define PX4IO_RC_INPUT_CHANNELS 18