aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-08-16 15:45:21 +0200
committerHarald Welte <laforge@osmocom.org>2020-08-16 15:47:00 +0200
commit9866c7373c1170cb18959664b656868dc15cd43c (patch)
tree00904c541d9c5375bc28092780c0c00975361a4c
parent1afb70a69d01c320ff9d268cd37dada451126f0f (diff)
dfu: Shrink code by 144 bytes (by not calling PIO_InitializeInterrupts)
We are not using any PIO interrupts from DFU mode. It's only used in the main application firmware (verified by "git grep PIO_ConfigureIt") Change-Id: Id1447af519df3183061f3d3f156a8dd84789af16
-rw-r--r--firmware/apps/dfu/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/apps/dfu/main.c b/firmware/apps/dfu/main.c
index 2e80884..aa0adfd 100644
--- a/firmware/apps/dfu/main.c
+++ b/firmware/apps/dfu/main.c
@@ -265,8 +265,6 @@ extern int main(void)
PIO_Clear(&pinsLeds[LED_NUM_GREEN]);
#endif
- PIO_InitializeInterrupts(0);
-
EEFC_ReadUniqueID(g_unique_id);
printf("\n\r\n\r"