added define for standardport
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user