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++;
incTimer();
if(ctr>100){
VoltageCheck();
LightCheck();
ctr=0;
if(!adcMutex){
VoltageCheck();
LightCheck();
};
ctr--;
};
if(isNight())