From 18dc658956b00052e1b44e14ad99115772577136 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 3 Aug 2011 18:28:24 +0200 Subject: [PATCH] inline these helper functions to save space --- firmware/applications/mkfirmware.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/applications/mkfirmware.pl b/firmware/applications/mkfirmware.pl index 2c465b6..5817b67 100755 --- a/firmware/applications/mkfirmware.pl +++ b/firmware/applications/mkfirmware.pl @@ -109,13 +109,13 @@ print "}};"; print ""; print "// Tick & init functions:"; -print qq!void tick_$app(void) {!; +print qq!inline void tick_$app(void) {!; for (sort @ticks){ print qq!\t$_();!; }; print qq!};!; -print qq!void init_$app(void) {!; +print qq!inline void init_$app(void) {!; for (sort @inits){ print qq!\t$_();!; };