projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/lisp: Fix pairp builtin
[fw/altos]
/
altoslib
/
AltosEepromChunk.java
diff --git
a/altoslib/AltosEepromChunk.java
b/altoslib/AltosEepromChunk.java
index 77b22fe274bf9210e8749732af227507f40bbd54..4f12c190f61936af2d9bd58e0fcac1c3364b900c 100644
(file)
--- a/
altoslib/AltosEepromChunk.java
+++ b/
altoslib/AltosEepromChunk.java
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-15,7
+16,7
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.
AltosLib
;
+package org.altusmetrum.
altoslib_12
;
import java.text.*;
import java.util.concurrent.*;
import java.text.*;
import java.util.concurrent.*;
@@
-62,6
+63,10
@@
public class AltosEepromChunk {
return true;
}
return true;
}
+ public boolean erased() {
+ return erased(0, chunk_size);
+ }
+
public AltosEepromChunk(AltosLink link, int block, boolean flush)
throws TimeoutException, InterruptedException {
public AltosEepromChunk(AltosLink link, int block, boolean flush)
throws TimeoutException, InterruptedException {
@@
-97,4
+102,4
@@
public class AltosEepromChunk {
}
}
}
}
}
}
-}
\ No newline at end of file
+}