Rover: make log_bitmask 32 bit

this fixes the log before arm
This commit is contained in:
Andrew Tridgell 2014-03-31 08:49:15 +11:00
parent d9fd577fb0
commit 563cf06624

View File

@ -28,7 +28,7 @@ public:
// Misc // Misc
// //
k_param_log_bitmask = 10, k_param_log_bitmask_old = 10, // unused
k_param_num_resets, k_param_num_resets,
k_param_reset_switch_chan, k_param_reset_switch_chan,
k_param_initial_mode, k_param_initial_mode,
@ -47,6 +47,9 @@ public:
// braking // braking
k_param_braking_percent = 30, k_param_braking_percent = 30,
// misc2
k_param_log_bitmask = 40,
// 110: Telemetry control // 110: Telemetry control
// //
@ -184,7 +187,7 @@ public:
// Misc // Misc
// //
AP_Int16 log_bitmask; AP_Int32 log_bitmask;
AP_Int16 num_resets; AP_Int16 num_resets;
AP_Int8 reset_switch_chan; AP_Int8 reset_switch_chan;
AP_Int8 initial_mode; AP_Int8 initial_mode;