summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/settings.h6
-rw-r--r--uisimulator/common/stubs.c4
2 files changed, 1 insertions, 9 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 3bb590c..7f5f025 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -189,11 +189,7 @@ enum { ALARM_START_WPS = 0,
This helps to save space for menus and options. */
#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
-#ifdef SIMULATOR
-/* a space which is defined in stubs.c */
-extern unsigned char vp_dummy[VIRT_SIZE];
-#define VIRT_PTR vp_dummy
-#elif CONFIG_CPU==DM320
+#if CONFIG_CPU==DM320
/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */
#define VIRT_PTR ((unsigned char*)0x4000)
#else
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index d73fe4c..78171ac 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -351,7 +351,3 @@ void system_reboot(void)
thread_sdl_exception_wait();
}
-/* assure an unused place to direct virtual pointers to */
-#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
-unsigned char vp_dummy[VIRT_SIZE];
-