Commit 6a971a9
committed
Remove redundant cast in USART_TDATA writes
Simplify writes to USART_TDATA in the GD32H7XX path by removing unnecessary (uint32_t) casts around *data++ in Gd32UartTransmit and Gd32UartTransmitString. Uses USART_TDATA_TDATA & *data++ directly to match the non-H7 code path and avoid redundant casting/warnings.1 parent 0a79364 commit 6a971a9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
0 commit comments