AP_HAL_ESP32: more changes for 32 bit servo mask

This commit is contained in:
Andrew Tridgell 2022-05-16 07:30:16 +10:00
parent 1d9abefbb1
commit 7aea559bdb
1 changed files with 2 additions and 2 deletions

View File

@ -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);