Skip to content
Commit 39364709 authored by Stephan Gatzka's avatar Stephan Gatzka Committed by Benjamin Cabé
Browse files

modbus: serial: check return value of uart_irq_callback_user_data_set



uart_irq_callback_user_data_set return non-zero if the callback function
can't be set. This might happen if you forgot to enable
CONFIG_UART_INTERRUPT_DRIVEN.

Signed-off-by: default avatarStephan Gatzka <stephan.gatzka@gmail.com>
parent f953b0d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment