projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Make accel cal dialog say 'beeper' instead of 'antenna'
[fw/altos]
/
altoslib
/
AltosHexsym.java
diff --git
a/altoslib/AltosHexsym.java
b/altoslib/AltosHexsym.java
index fba50527940fa95c4bced2f63132caaa73aba10e..2e51e64145dbcf1485556b6f99303bcf2ace98ad 100644
(file)
--- a/
altoslib/AltosHexsym.java
+++ b/
altoslib/AltosHexsym.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_
7
;
+package org.altusmetrum.altoslib_
14
;
public class AltosHexsym {
String name;
public class AltosHexsym {
String name;
@@
-23,8
+24,12
@@
public class AltosHexsym {
final static long invalid_addr = 0xffffffff;
final static long invalid_addr = 0xffffffff;
+ public String toString() {
+ return String.format("%s:0x%x", name, address);
+ }
+
public AltosHexsym(String name, long address) {
this.name = name;
this.address = address;
}
public AltosHexsym(String name, long address) {
this.name = name;
this.address = address;
}
-}
\ No newline at end of file
+}