Skip to content

Commit

Permalink
fix(rpc): Nitpick on UART transport init.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Mar 29, 2024
1 parent 3184ee9 commit 476da52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/studio/uart_rpc_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static void serial_cb(const struct device *dev, void *user_data) {
static int uart_rpc_interface_init(void) {
if (!device_is_ready(uart_dev)) {
LOG_ERR("UART device not found!");
return 0;
return -ENODEV;
}

/* configure interrupt and callback to receive data */
Expand Down

0 comments on commit 476da52

Please sign in to comment.