diff options
| author | tfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2017-01-04 15:08:58 +0000 |
|---|---|---|
| committer | tfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2017-01-04 15:08:58 +0000 |
| commit | 238c8d1f08bc0b9bab073d3bf0b33c725ed8458d (patch) | |
| tree | 5ed69c175f67cbbe6b18410388803a8964e6cc83 | |
| parent | b01bc6e905fdf532050118ca4639a2ff6f1c6299 (diff) | |
| download | ChibiOS-238c8d1f08bc0b9bab073d3bf0b33c725ed8458d.tar.gz ChibiOS-238c8d1f08bc0b9bab073d3bf0b33c725ed8458d.tar.bz2 ChibiOS-238c8d1f08bc0b9bab073d3bf0b33c725ed8458d.zip | |
Fixed AVR ADC Warning (Control reaches end of non void function.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10012 35acf78f-673a-0410-8e92-d51de3d6d3f4
| -rw-r--r-- | os/hal/ports/AVR/hal_adc_lld.c | 1 |
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) {
|
