Skip to content

Commit

Permalink
examples/virtio: fix serial_config style
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Brown <[email protected]>
  • Loading branch information
alexandermbrown committed Jul 9, 2024
1 parent 04a2365 commit 5ca8f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/virtio/include/serial_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static inline void serial_virt_queue_init_sys(char *pd_name, serial_queue_handle
serial_queue_init(&cli_queue_handle[1], (serial_queue_t *)(cli_queue + SERIAL_QUEUE_SIZE),
SERIAL_RX_DATA_REGION_SIZE_CLI1, (char *)(cli_data + SERIAL_RX_DATA_REGION_SIZE_CLI0));
serial_queue_init(&cli_queue_handle[2], (serial_queue_t *)(cli_queue + 2 * SERIAL_QUEUE_SIZE),
SERIAL_RX_DATA_REGION_SIZE_CLI2,
SERIAL_RX_DATA_REGION_SIZE_CLI2,
(char *)(cli_data + SERIAL_RX_DATA_REGION_SIZE_CLI0 + SERIAL_RX_DATA_REGION_SIZE_CLI1));
} else if (!sddf_strcmp(pd_name, SERIAL_VIRT_TX_NAME)) {
serial_queue_init(cli_queue_handle, (serial_queue_t *) cli_queue, SERIAL_TX_DATA_REGION_SIZE_CLI0, (char *)cli_data);
Expand Down

0 comments on commit 5ca8f2d

Please sign in to comment.