summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/archosrecorder.h2
-rw-r--r--firmware/export/imx31l.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h
index f64dd3cf8d..be7c872b0e 100644
--- a/firmware/export/config/archosrecorder.h
+++ b/firmware/export/config/archosrecorder.h
@@ -80,7 +80,7 @@
80#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 80#define BATTERY_CAPACITY_INC 50 /* capacity increment */
81#define BATTERY_TYPES_COUNT 1 /* only one type */ 81#define BATTERY_TYPES_COUNT 1 /* only one type */
82 82
83#if MEM < 8 83#if MEMORYSIZE < 8
84 #define CURRENT_NORMAL 145 /* usual current in mA */ 84 #define CURRENT_NORMAL 145 /* usual current in mA */
85#else 85#else
86 #define CURRENT_NORMAL 145 *100 / 122 /* assuming 192 kbps, the running time is 22% longer with 8MB */ 86 #define CURRENT_NORMAL 145 *100 / 122 /* assuming 192 kbps, the running time is 22% longer with 8MB */
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h
index 7cb452d3cb..ca4ab0c019 100644
--- a/firmware/export/imx31l.h
+++ b/firmware/export/imx31l.h
@@ -28,7 +28,7 @@
28#define REG32_PTR_T volatile unsigned long * 28#define REG32_PTR_T volatile unsigned long *
29 29
30/* Place in the section with the framebuffer */ 30/* Place in the section with the framebuffer */
31#define TTB_BASE_ADDR (CSD0_BASE_ADDR + (MEM*0x100000) - TTB_SIZE) 31#define TTB_BASE_ADDR (CSD0_BASE_ADDR + (MEMORYSIZE*0x100000) - TTB_SIZE)
32#define TTB_SIZE (0x4000) 32#define TTB_SIZE (0x4000)
33#define IRAM_SIZE (0x4000) 33#define IRAM_SIZE (0x4000)
34#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) 34#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR)