summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index f1618ae..39c15ab 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -37,2 +37,4 @@
37 37
38#include <opie/odevice.h>
39
38#include <qpoint.h> 40#include <qpoint.h>
@@ -48,2 +50,4 @@
48 50
51using namespace Opie;
52
49namespace OpieTooth { 53namespace OpieTooth {
@@ -84,3 +88,11 @@ namespace OpieTooth {
84 if (c == 1) { 88 if (c == 1) {
89 switch ( ODevice::inst()->model() ) {
90 case Model_iPAQ_H39xx:
91 btDevice = new Device( "/dev/tts/1", "bcsp", "921600" );
92 break;
93
94 default:
85 btDevice = new Device("/dev/ttySB0", "bcsp", "230400" ); 95 btDevice = new Device("/dev/ttySB0", "bcsp", "230400" );
96 break;
97 }
86 } else { 98 } else {
@@ -119,4 +131,4 @@ namespace OpieTooth {
119 menu->insertSeparator(6); 131 menu->insertSeparator(6);
120 menu->insertItem( tr("Signal strength"), signal, 5); 132 //menu->insertItem( tr("Signal strength"), signal, 5);
121 menu->insertSeparator(8); 133 //menu->insertSeparator(8);
122 134