Skip to content

Commit

Permalink
fix: DisplayUart2: Use proper type for baudRate
Browse files Browse the repository at this point in the history
Within the whole system, uint32_t is used for the baudrate. We should do
the same here to avoid implicit type conversions.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
  • Loading branch information
oliv3r committed Aug 26, 2024
1 parent 186d9f3 commit 0547def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ti/display/DisplayUart2.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ typedef struct
/*! Index of uart in UART_config[] */
unsigned int uartIdx;
/*! Baud rate for uart */
unsigned int baudRate;
uint32_t baudRate;
/*! Timeout for acquiring semaphore */
unsigned int mutexTimeout;
/*! Buffer for formatting messages */
Expand Down

0 comments on commit 0547def

Please sign in to comment.