diff --git a/libraries/AP_HAL_ESP32/RCOutput.h b/libraries/AP_HAL_ESP32/RCOutput.h index 9e3bb3d8b4..cf70a8fb89 100644 --- a/libraries/AP_HAL_ESP32/RCOutput.h +++ b/libraries/AP_HAL_ESP32/RCOutput.h @@ -86,7 +86,7 @@ public: /* set safety mask for IOMCU */ - void set_safety_mask(uint16_t mask) + void set_safety_mask(uint32_t mask) { safety_mask = mask; } @@ -126,7 +126,7 @@ private: uint8_t safety_press_count; // 0.1s units // mask of channels to allow when safety on - uint16_t safety_mask; + uint32_t safety_mask; // update safety switch and LED void safety_update(void);