summaryrefslogtreecommitdiff
path: root/firmware/export/dm320.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/dm320.h')
-rw-r--r--firmware/export/dm320.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h
index 4a1b7246d5..4d6b9ac08b 100644
--- a/firmware/export/dm320.h
+++ b/firmware/export/dm320.h
@@ -32,9 +32,9 @@
32/* must be 16Kb (0x4000) aligned */ 32/* must be 16Kb (0x4000) aligned */
33#if 0 33#if 0
34#define MEM_END 0x00900000 + (MEM*0x00100000) 34#define MEM_END 0x00900000 + (MEM*0x00100000)
35#define TTB_BASE ((unsigned int *)(MEM_END - TTB_SIZE)) /* End of memory */ 35#define TTB_BASE ((unsigned long *)(MEM_END - TTB_SIZE)) /* End of memory */
36#else 36#else
37#define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ 37#define TTB_BASE ((unsigned long *)(0x04900000 - TTB_SIZE)) /* End of memory */
38#endif 38#endif
39#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ 39#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */
40 40