diff --git a/src/no/nordicsemi/android/dfu/HexInputStream.java b/src/no/nordicsemi/android/dfu/HexInputStream.java
index <HASH>..<HASH> 100644
--- a/src/no/nordicsemi/android/dfu/HexInputStream.java
+++ b/src/no/nordicsemi/android/dfu/HexInputStream.java
@@ -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;
Bug fixed: when line in HEX is longer than <I> bytes app is crushing
during DFU.