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 | |||
@@ -5,2 +5,4 @@ | |||
5 | #include <unistd.h> | 5 | #include <unistd.h> |
6 | #include <stdio.h> | ||
7 | |||
6 | #include "io_serial.h" | 8 | #include "io_serial.h" |
@@ -166,2 +168,7 @@ void IOSerial::dataArrived() { | |||
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 ); |