altosdroid: init device variable... oops!
authorMike Beattie <mike@ethernal.org>
Sun, 26 Aug 2012 11:16:49 +0000 (23:16 +1200)
committerMike Beattie <mike@ethernal.org>
Sun, 26 Aug 2012 11:16:49 +0000 (23:16 +1200)
Signed-off-by: Mike Beattie <mike@ethernal.org>
altosdroid/src/org/altusmetrum/AltosDroid/AltosBluetooth.java

index 6b86a1537f68844b694f9f184c5b3c2a510478fa..c16e3cf5bc8365d57d1a63de86ad6dff6eb71dc3 100644 (file)
@@ -48,7 +48,7 @@ public class AltosBluetooth extends AltosLink {
        // Constructor
        public AltosBluetooth(BluetoothDevice in_device) {
                adapter = BluetoothAdapter.getDefaultAdapter();
-
+               device = in_device;
 
                connect_thread = new ConnectThread(device);
                connect_thread.start();