Use new mutex :)

This commit is contained in:
Stefan `Sec` Zehl 2011-07-25 23:26:18 +02:00
parent d8563eb64d
commit 0b930aef48
1 changed files with 5 additions and 3 deletions

View File

@ -116,9 +116,11 @@ void tick_default(void) {
ctr++; ctr++;
incTimer(); incTimer();
if(ctr>100){ if(ctr>100){
if(!adcMutex){
VoltageCheck(); VoltageCheck();
LightCheck(); LightCheck();
ctr=0; };
ctr--;
}; };
if(isNight()) if(isNight())