diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-12-13 11:30:07 +1100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-13 11:21:00 +0100 |
commit | 6016fbe55d3fd402012168b5a704a550bcfc4d28 (patch) | |
tree | 66434a0cec21b472b0aa9792e2e49cec8ef52335 /src/modules/px4iofirmware/protocol.h | |
parent | 8f90efa312b4bccbacb9e9173e2cba7d7b4bc193 (diff) | |
download | px4-firmware-6016fbe55d3fd402012168b5a704a550bcfc4d28.tar.gz px4-firmware-6016fbe55d3fd402012168b5a704a550bcfc4d28.tar.bz2 px4-firmware-6016fbe55d3fd402012168b5a704a550bcfc4d28.zip |
Merged PX4IO crc checks and force update
Diffstat (limited to 'src/modules/px4iofirmware/protocol.h')
-rw-r--r-- | src/modules/px4iofirmware/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/protocol.h b/src/modules/px4iofirmware/protocol.h index 5e5396782..2856bdea4 100644 --- a/src/modules/px4iofirmware/protocol.h +++ b/src/modules/px4iofirmware/protocol.h @@ -186,6 +186,9 @@ enum { /* DSM bind states */ /* 8 */ #define PX4IO_P_SETUP_SET_DEBUG 9 /* debug level for IO board */ +#define PX4IO_P_SETUP_REBOOT_BL 10 /* reboot IO into bootloader */ +#define PX4IO_REBOOT_BL_MAGIC 14662 /* required argument for reboot (random) */ + /* autopilot control values, -10000..10000 */ #define PX4IO_PAGE_CONTROLS 51 /* 0..CONFIG_CONTROL_COUNT */ |