Skip to content

Commit

Permalink
fix(uart):change parameter type uint8_t -> char
Browse files Browse the repository at this point in the history
-change parameter type "UART_PutString"
  • Loading branch information
abdullahbagyapan committed Apr 19, 2024
1 parent 4b7cfd7 commit 8dee1b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uart/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void UART_PutChar(uint8_t ui8Data) {
}


void UART_PutString(uint8_t *ui8pData) {
void UART_PutString(char *ui8pData) {

uart_puts(UART_DEFAULT_INSTANCE, ui8pData);

Expand Down
2 changes: 1 addition & 1 deletion uart/uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ void UART_PutChar(uint8_t ui8Data);
@return None
*/
void UART_PutString(uint8_t *ui8pData);
void UART_PutString(char *ui8pData);

0 comments on commit 8dee1b8

Please sign in to comment.