Commit e6ce328
committed
Remove redundant uint32_t cast in USART writes
Remove unnecessary (uint32_t) casts when writing transmit bytes to USART_TDATA in Gd32UartTransmit and Gd32UartTransmitString for GD32H7XX. This aligns the H7 path with the non-H7 code, avoids redundant casting and potential compiler warnings, and keeps the masking operation consistent.1 parent 37e308b commit e6ce328
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