VC++ compilation fix

This commit is contained in:
Bertrand Songis
2016-01-31 11:34:07 +01:00
parent 979a86f24e
commit 40ae1879e8
9 changed files with 52 additions and 51 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ void adcRead()
const int8_t ana_direction[NUMBER_ANALOG] = {1,-1,1,-1, -1,1,-1, -1,-1, -1,1, 0,0,0};
uint16_t getAnalogValue(uint32_t index)
uint16_t getAnalogValue(uint8_t index)
{
if (ana_direction[index] < 0)
return 4096 - adcValues[index];