added debugcomment

This commit is contained in:
2014-09-27 22:06:49 +02:00
parent a3237864b4
commit 39065603f2

View File

@@ -30,14 +30,18 @@ HardwareSetup::~HardwareSetup(){
void HardwareSetup::run(){
int index;
while(!this->stop){
index +=1;
usleep(500);
if(getDea()){
index +=1;
if(!deaBefore){
index = 0;
deaBefore = true;
emit Dea();
}
//Debug
//std::cout << index << std::endl;
}
else{
deaBefore = false;