Minor cleanups on handling, make wrong reg accesses non-fatal for the transfer

This commit is contained in:
Lorenz Meier
2014-05-16 10:43:50 +02:00
parent 5ca96631fc
commit 1b491005d1
2 changed files with 16 additions and 13 deletions
+2
View File
@@ -190,6 +190,8 @@
#define PX4IO_P_SETUP_RELAYS_POWER2 (1<<1) /* hardware rev [1] power relay 2 */
#define PX4IO_P_SETUP_RELAYS_ACC1 (1<<2) /* hardware rev [1] accessory power 1 */
#define PX4IO_P_SETUP_RELAYS_ACC2 (1<<3) /* hardware rev [1] accessory power 2 */
#else
#define PX4IO_P_SETUP_RELAYS_PAD 5
#endif
#define PX4IO_P_SETUP_VBATT_SCALE 6 /* hardware rev [1] battery voltage correction factor (float) */