Browse Source

AP_KDECAN: more changes for 32 bit servo mask

apm_2208
Andrew Tridgell 3 years ago
parent
commit
bb8ebeebe2
  1. 2
      libraries/AP_KDECAN/AP_KDECAN.cpp
  2. 2
      libraries/AP_KDECAN/AP_KDECAN.h

2
libraries/AP_KDECAN/AP_KDECAN.cpp

@ -606,7 +606,7 @@ bool AP_KDECAN::pre_arm_check(char* reason, uint8_t reason_len) @@ -606,7 +606,7 @@ bool AP_KDECAN::pre_arm_check(char* reason, uint8_t reason_len)
_enum_sem.give();
uint16_t motors_mask = 0;
uint32_t motors_mask = 0;
AP_Motors *motors = AP_Motors::get_singleton();
if (motors) {

2
libraries/AP_KDECAN/AP_KDECAN.h

@ -72,7 +72,7 @@ private: @@ -72,7 +72,7 @@ private:
AP_Int8 _num_poles;
// ESC detected information
uint16_t _esc_present_bitmask;
uint32_t _esc_present_bitmask;
uint8_t _esc_max_node_id;
// enumeration

Loading…
Cancel
Save