Skip to content

Commit

Permalink
change run call for start
Browse files Browse the repository at this point in the history
  • Loading branch information
felHR85 authored Jul 18, 2016
1 parent 8bd88ea commit d2d05a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void onReceive(Context arg0, Intent arg1) {
Intent intent = new Intent(ACTION_USB_PERMISSION_GRANTED);
arg0.sendBroadcast(intent);
connection = usbManager.openDevice(device);
new ConnectionThread().run();
new ConnectionThread().start();
} else // User not accepted our USB connection. Send an Intent to the Main Activity
{
Intent intent = new Intent(ACTION_USB_PERMISSION_NOT_GRANTED);
Expand Down

0 comments on commit d2d05a7

Please sign in to comment.