doc: Publish images with HTML bits
[fw/altos] / altoslib / AltosDebug.java
index 4d8e3ae7cfa994bb7718ac41bbf0691a98111c76..8faab03bdc19a406d0362fd90a731162ac9466fd 100644 (file)
@@ -15,7 +15,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_1;
+package org.altusmetrum.altoslib_2;
 
 import java.io.*;
 
@@ -260,7 +260,8 @@ public class AltosDebug {
        public AltosRomconfig romconfig() {
                try {
                        byte[] bytes = read_memory(0xa0, 10);
-                       return new AltosRomconfig(bytes, 0);
+                       AltosHexfile hexfile = new AltosHexfile (bytes, 0xa0);
+                       return new AltosRomconfig(hexfile);
                } catch (IOException ie) {
                } catch (InterruptedException ie) {
                }