AP_HAL_ChibiOS: Fix get_options() to use uint16_t
This commit is contained in:
parent
42c584a377
commit
fb5ac63a63
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user