syntax suger

and forgot to add method declaration to headerfile
This commit is contained in:
iceman1001 2016-10-14 15:47:40 +02:00
commit b069fb8bba
2 changed files with 2 additions and 3 deletions

View file

@ -182,9 +182,7 @@ static int ReadAdc(int ch)
int AvgAdc(int ch) // was static - merlok
{
int i;
int a = 0;
int i, a = 0;
for(i = 0; i < 32; ++i)
a += ReadAdc(ch);