From f7ceb2957839027e8027a9a4c0dfff730cb9b704 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/common/port/parallel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/port/parallel.cpp') diff --git a/src/common/port/parallel.cpp b/src/common/port/parallel.cpp index d92bc82..daa0c6a 100644 --- a/src/common/port/parallel.cpp +++ b/src/common/port/parallel.cpp @@ -203,8 +203,8 @@ bool Port::Parallel::setPinOn(uint pin, bool on, LogicType type) Q_ASSERT( PIN_DATA[pin].dir==Out ); RequestType rtype = PIN_DATA[pin].rType; Q_ASSERT( rtype!=Nb_RequestTypes ); - uchar tqmask = PIN_DATA[pin].tqmask; - uchar c = (XOR(type==NegativeLogic, on) ? _images[rtype] | tqmask : _images[rtype] & ~tqmask); + uchar mask = PIN_DATA[pin].mask; + uchar c = (XOR(type==NegativeLogic, on) ? _images[rtype] | mask : _images[rtype] & ~mask); int request = REQUEST_DATA[rtype].write; Q_ASSERT( request!=0 ); if ( ioctl(_fd, request, &c)<0 ) { @@ -232,7 +232,7 @@ bool Port::Parallel::readPin(uint pin, LogicType type, bool &value) return false; } _images[rtype] = c; - value = (type==NegativeLogic ? ~c : c ) & PIN_DATA[pin].tqmask; + value = (type==NegativeLogic ? ~c : c ) & PIN_DATA[pin].mask; #endif return true; } -- cgit v1.2.1