added define for standardport

This commit is contained in:
2014-09-27 19:45:48 +02:00
parent 76dcca9728
commit a3237864b4

View File

@@ -4,6 +4,7 @@
#include <iostream>
#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;