altos/stm32f4: Wrong value for CK48MSEL_PLL_Q
[fw/altos] / altoslib / AltosHexsym.java
index 52eb81db0354e1a0cea00dd4ba627277f7b67853..a2ba6935f0ee58ac895ef6ed477bffc99449566a 100644 (file)
@@ -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
- * 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
@@ -15,7 +16,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_5;
+package org.altusmetrum.altoslib_13;
 
 public class AltosHexsym {
        String  name;
@@ -23,8 +24,12 @@ public class AltosHexsym {
 
        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;
        }
-}
\ No newline at end of file
+}