Commit 071752a
committed
Remove redundant cast in TIMER6 IRQ handler
Replace static_cast<uint32_t>(~kIntFlag) with ~kIntFlag in TIMER6_IRQHandler. This removes an unnecessary explicit cast when writing the interrupt-clear value to TIMER_INTF, keeping behavior the same and avoiding potential compiler warnings about redundant conversions.1 parent 0afa0bd commit 071752a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments