aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/AVR/hal_adc_lld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/ports/AVR/hal_adc_lld.c b/os/hal/ports/AVR/hal_adc_lld.c
index 4ea634c8f..62848d4a4 100644
--- a/os/hal/ports/AVR/hal_adc_lld.c
+++ b/os/hal/ports/AVR/hal_adc_lld.c
@@ -57,6 +57,7 @@ static size_t getAdcChannelNumberFromMask(uint8_t mask, uint8_t currentChannel)
}
/* error, should never reach this line */
+ return -1; // To check
}
static void setAdcChannel(uint8_t channelNum) {