Commit ae6bb3a
committed
Add explicit cast in UART0 RX interrupt
Cast the result of the DMA transfer count calculation to uint16_t to ensure explicit type conversion and improve type safety in the USART0 IDLE interrupt handler.1 parent 3d837c0 commit ae6bb3a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments