diff --git a/hardwaresetup.cpp b/hardwaresetup.cpp index de2c88f..7390c1c 100644 --- a/hardwaresetup.cpp +++ b/hardwaresetup.cpp @@ -4,6 +4,7 @@ #include #define BASEPORT 0xe050 /* lp1 */ +//#define BASEPORT 0x378 HardwareSetup::HardwareSetup() { @@ -27,8 +28,11 @@ HardwareSetup::~HardwareSetup(){ } void HardwareSetup::run(){ + int index; while(!this->stop){ + index +=1; usleep(500); + if(getDea()){ if(!deaBefore){ deaBefore = true;