diff options
author | Keith Packard <keithp@keithp.com> | 2014-04-11 16:40:06 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-11 16:40:06 -0700 |
commit | 9e18c524fa2d1f648f265b3c3105f5ceacf06c10 (patch) | |
tree | 70eef3b41a40ca5401a45ae1894847a77409b203 /altoslib/AltosSelfFlash.java | |
parent | 7b275ddfe20f54857d7d1abb98607c406b678090 (diff) |
altoslib/altosui/altosuilib/libaltos: Remove trailing whitespace
Just cleaning up the source code.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosSelfFlash.java')
-rw-r--r-- | altoslib/AltosSelfFlash.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altoslib/AltosSelfFlash.java b/altoslib/AltosSelfFlash.java index aae993eb..051aa766 100644 --- a/altoslib/AltosSelfFlash.java +++ b/altoslib/AltosSelfFlash.java @@ -47,7 +47,7 @@ public class AltosSelfFlash extends AltosProgrammer { for (int offset = 0; offset < len; offset += 0x100) { link.printf("R %x\n", addr + offset); byte[] reply = link.get_binary_reply(5000, 0x100); - + if (reply == null) throw new IOException("Read device memory timeout"); for (b = 0; b < len; b++) @@ -55,7 +55,7 @@ public class AltosSelfFlash extends AltosProgrammer { } return data; } - + void write_memory(long addr, byte[] data, int start, int len) { int b; link.printf("W %x\n", addr); |