Bug fixed: when line in HEX is longer than 16 bytes app is crushing

during DFU.
This commit is contained in:
Aleksander Nowakowski 2014-11-03 09:26:57 +01:00
parent ad792eb3cc
commit 78f0e5a2fe
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ import no.nordicsemi.android.dfu.exception.HexFileValidationException;
* </p>
*/
public class HexInputStream extends FilterInputStream {
private final int LINE_LENGTH = 16;
private final int LINE_LENGTH = 20;
private final byte[] localBuf;
private int localPos;
private int pos;