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
This commit is contained in:
parent
b01bc6e905
commit
238c8d1f08
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue