diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:25 -0600 |
commit | 4374b9aebc67cce74e5c1099d5f4ad1749b05fc6 (patch) | |
tree | 8f99491ad0bd6e9632a912f07acdccebd2af9127 /src/progs/psp/base/psp_serial.cpp | |
parent | 9d9fe02a944fe0719c2475739411727a729251ad (diff) | |
download | piklab-4374b9aebc67cce74e5c1099d5f4ad1749b05fc6.tar.gz piklab-4374b9aebc67cce74e5c1099d5f4ad1749b05fc6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/progs/psp/base/psp_serial.cpp')
-rw-r--r-- | src/progs/psp/base/psp_serial.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/psp/base/psp_serial.cpp b/src/progs/psp/base/psp_serial.cpp index 7da4c00..b29be31 100644 --- a/src/progs/psp/base/psp_serial.cpp +++ b/src/progs/psp/base/psp_serial.cpp @@ -48,7 +48,7 @@ bool Psp::SerialPort::reset() bool Psp::SerialPort::command(uchar c, uint nbBytes, TQMemArray<uchar> &a) { - log(Log::DebugLevel::Extra, TQString("Command %1").tqarg(toHexLabel(c, 2))); + log(Log::DebugLevel::Extra, TQString("Command %1").arg(toHexLabel(c, 2))); if ( !sendChar(c) ) return false; return receive(nbBytes, a); } @@ -57,7 +57,7 @@ bool Psp::SerialPort::checkAck(uchar ec, uchar rc) { if ( ec==rc ) return true; log(Log::LineType::Error, i18n("Incorrect ack: expecting %1, received %2") - .tqarg(TQString(toHex(ec, 2))).tqarg(TQString(toHex(rc, 2)))); + .arg(TQString(toHex(ec, 2))).arg(TQString(toHex(rc, 2)))); return false; } @@ -65,7 +65,7 @@ bool Psp::SerialPort::checkEnd(uchar c) { if ( c==0 ) return true; log(Log::LineType::Error, i18n("Incorrect received data end: expecting 00, received %1") - .tqarg(TQString(toHex(c, 2)))); + .arg(TQString(toHex(c, 2)))); return false; } |