AP_HAL_ChibiOS: Fix get_options() to use uint16_t

This commit is contained in:
Stephen Dade 2021-11-28 20:44:36 +11:00 committed by Peter Barker
parent 42c584a377
commit fb5ac63a63
2 changed files with 2 additions and 2 deletions

View File

@ -1740,7 +1740,7 @@ bool UARTDriver::set_options(uint16_t options)
}
// get optional features
uint8_t UARTDriver::get_options(void) const
uint16_t UARTDriver::get_options(void) const
{
return _last_options;
}

View File

@ -69,7 +69,7 @@ public:
// control optional features
bool set_options(uint16_t options) override;
uint8_t get_options(void) const override;
uint16_t get_options(void) const override;
// write to a locked port. If port is locked and key is not correct then 0 is returned
// and write is discarded