diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 10:43:50 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 10:43:50 +0200 |
commit | 1b491005d1192bfee7cf25068195b5f5e3a604eb (patch) | |
tree | 2494dbb0341694e2edda3e8776fa7de37868cd28 /src/modules/px4iofirmware/protocol.h | |
parent | 5ca96631fc02d3826d2ef6274f9da7e12e9fb4a1 (diff) | |
download | px4-firmware-1b491005d1192bfee7cf25068195b5f5e3a604eb.tar.gz px4-firmware-1b491005d1192bfee7cf25068195b5f5e3a604eb.tar.bz2 px4-firmware-1b491005d1192bfee7cf25068195b5f5e3a604eb.zip |
Minor cleanups on handling, make wrong reg accesses non-fatal for the transfer
Diffstat (limited to 'src/modules/px4iofirmware/protocol.h')
-rw-r--r-- | src/modules/px4iofirmware/protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/protocol.h b/src/modules/px4iofirmware/protocol.h index 313084fe9..7471faec7 100644 --- a/src/modules/px4iofirmware/protocol.h +++ b/src/modules/px4iofirmware/protocol.h @@ -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) */ |