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
+2 -1
View File
@@ -762,8 +762,9 @@ void checkSwitches()
#define GETADC_COUNT 1
#endif
#ifdef GETADC_COUNT
for (int i=0; i<GETADC_COUNT; i++)
for (uinr8_t i=0; i<GETADC_COUNT; i++) {
getADC();
}
#undef GETADC_COUNT
#endif
#endif // !defined(MODULE_ALWAYS_SEND_PULSES)