From: Holger Hans Peter Freyther <zecke(a)selfish.org>
These address various compiler warnings, there is still one left
related the flash handling but I will need to read a bit more on
the EFC. I have flashed my device using DFU with these patches applied.
Holger Hans Peter Freyther (5):
dfu: The i variable to disable interrupts shadows the outer index
dfu: udp_ep0_recv_clean is static and is not called anywhere
dfu: Mark unsued variables as __unused for now
dfu: Use {} for possible empty if statement (in case debug is off)
dfu: Remove unused variable, mark method as not retuning
firmware/include/asm/compiler.h | 3 +++
firmware/src/dfu/dfu.c | 36 +++++++++++-------------------------
2 files changed, 14 insertions(+), 25 deletions(-)
--
1.7.7.2