We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b2788 commit a9074f7Copy full SHA for a9074f7
1 file changed
shared-module/_pew/PewPew.c
@@ -43,9 +43,13 @@ static uint8_t pewpew_tc_index = 0xff;
43
44
45
void pewpew_interrupt_handler(uint8_t index) {
46
- if (index != pewpew_tc_index) return;
+ if (index != pewpew_tc_index) {
47
+ return;
48
+ }
49
Tc* tc = tc_insts[index];
- if (!tc->COUNT16.INTFLAG.bit.MC0) return;
50
+ if (!tc->COUNT16.INTFLAG.bit.MC0) {
51
52
53
54
pew_tick();
55
0 commit comments