drivers: can: stm32: list one-shot capability
List the one-shot capability as supported. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
bdf3322de8
commit
e143c8b916
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ static int can_stm32_get_capabilities(const struct device *dev, can_mode_t *cap)
|
|||
{
|
||||
ARG_UNUSED(dev);
|
||||
|
||||
*cap = CAN_MODE_NORMAL | CAN_MODE_LOOPBACK | CAN_MODE_LISTENONLY;
|
||||
*cap = CAN_MODE_NORMAL | CAN_MODE_LOOPBACK | CAN_MODE_LISTENONLY | CAN_MODE_ONE_SHOT;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue