Diffstat (limited to 'noncore/apps/opie-console/io_serial.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_serial.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_serial.cpp b/noncore/apps/opie-console/io_serial.cpp index 0540d9e..03e92dd 100644 --- a/noncore/apps/opie-console/io_serial.cpp +++ b/noncore/apps/opie-console/io_serial.cpp | |||
@@ -4,4 +4,6 @@ | |||
4 | #include <errno.h> | 4 | #include <errno.h> |
5 | #include <unistd.h> | 5 | #include <unistd.h> |
6 | #include <stdio.h> | ||
7 | |||
6 | #include "io_serial.h" | 8 | #include "io_serial.h" |
7 | 9 | ||
@@ -165,4 +167,9 @@ void IOSerial::dataArrived() { | |||
165 | if (len < 0) | 167 | if (len < 0) |
166 | return; | 168 | return; |
169 | qWarning("got from layer"); | ||
170 | for (int i = 0; i < len; i++ ) { | ||
171 | printf("%c", array[i] ); | ||
172 | } | ||
173 | printf("\n"); | ||
167 | array.resize( len ); | 174 | array.resize( len ); |
168 | emit received(array); | 175 | emit received(array); |