summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-h10.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-h10.h')
-rw-r--r--firmware/export/config-h10.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index a66a387f02..ec6f83fecb 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -138,13 +138,19 @@
#define HAVE_ATA_POWER_OFF
/* Offset ( in the firmware file's header ) to the file length */
-#define FIRMWARE_OFFSET_FILE_LENGTH 0
+#define FIRMWARE_OFFSET_FILE_LENGTH 0x8
/* Offset ( in the firmware file's header ) to the file CRC */
-#define FIRMWARE_OFFSET_FILE_CRC 0
+#define FIRMWARE_OFFSET_FILE_CRC 0x0c
+
+/* Offset ( in the firmware file's header ) to the file type */
+#define FIRMWARE_OFFSET_FILE_TYPE 0x1f8
+
+/* Offset ( in the firmware file's header ) to the file model id */
+#define FIRMWARE_OFFSET_FILE_MODEL 0x1fc
/* Offset ( in the firmware file's header ) to the real data */
-#define FIRMWARE_OFFSET_FILE_DATA 8
+#define FIRMWARE_OFFSET_FILE_DATA 0x200
/* #define USB_IPODSTYLE */