summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2019-03-01 16:11:22 +0100
committerRadomir Dopieralski <openstack@sheep.art.pl>2019-03-01 16:11:22 +0100
commita9074f7bd10c102925510229bfc43e550c989cb9 (patch)
tree57d036bfdca4a5e2b0bddf914bf7124cf5acdc9e /shared-module
parent89b2788d119c811327b366e061481fbcc96cbc65 (diff)
More style fixes
Diffstat (limited to 'shared-module')
-rw-r--r--shared-module/_pew/PewPew.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared-module/_pew/PewPew.c b/shared-module/_pew/PewPew.c
index 3fea689a3..755b88394 100644
--- a/shared-module/_pew/PewPew.c
+++ b/shared-module/_pew/PewPew.c
@@ -43,9 +43,13 @@ static uint8_t pewpew_tc_index = 0xff;
void pewpew_interrupt_handler(uint8_t index) {
- if (index != pewpew_tc_index) return;
+ if (index != pewpew_tc_index) {
+ return;
+ }
Tc* tc = tc_insts[index];
- if (!tc->COUNT16.INTFLAG.bit.MC0) return;
+ if (!tc->COUNT16.INTFLAG.bit.MC0) {
+ return;
+ }
pew_tick();