Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
philips77 committed Sep 13, 2017
1 parent 4a466b2 commit 3dace81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private String parse(final byte[] data) {
}
return new String(out);
}
};
}

/* package */ BaseDfuImpl(final Intent intent, final DfuBaseService service) {
mService = service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@

package no.nordicsemi.android.dfu;

import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface BootloaderScanner {
/**
* After the buttonless jump from the application mode to the bootloader mode the service will wait this long for the advertising bootloader (in milliseconds).
*/
long TIMEOUT = 5000l; // ms
long TIMEOUT = 5000L; // ms
/** The bootloader may advertise with the same address or one with the last byte incremented by this value. F.e. 00:11:22:33:44:55 -> 00:11:22:33:44:56. FF changes to 00. */
int ADDRESS_DIFF = 1;

Expand Down

0 comments on commit 3dace81

Please sign in to comment.