diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index 4c7689ce8c..1e8e872296 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -78,6 +78,10 @@ | |||
78 | #include "bootchart.h" | 78 | #include "bootchart.h" |
79 | #include "logdiskf.h" | 79 | #include "logdiskf.h" |
80 | #include "bootdata.h" | 80 | #include "bootdata.h" |
81 | #if defined(HAVE_DEVICEDATA) | ||
82 | #include "devicedata.h" | ||
83 | #endif | ||
84 | |||
81 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | 85 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |
82 | #include "notification.h" | 86 | #include "notification.h" |
83 | #endif | 87 | #endif |
@@ -176,6 +180,9 @@ int main(void) | |||
176 | } | 180 | } |
177 | list_init(); | 181 | list_init(); |
178 | tree_init(); | 182 | tree_init(); |
183 | #if defined(HAVE_DEVICEDATA) && !defined(BOOTLOADER) /* SIMULATOR */ | ||
184 | verify_device_data(); | ||
185 | #endif | ||
179 | /* Keep the order of this 3 | 186 | /* Keep the order of this 3 |
180 | * Must be done before any code uses the multi-screen API */ | 187 | * Must be done before any code uses the multi-screen API */ |
181 | #ifdef HAVE_USBSTACK | 188 | #ifdef HAVE_USBSTACK |
@@ -459,6 +466,10 @@ static void init(void) | |||
459 | verify_boot_data(); | 466 | verify_boot_data(); |
460 | #endif | 467 | #endif |
461 | 468 | ||
469 | #if defined(HAVE_DEVICEDATA) && !defined(BOOTLOADER) | ||
470 | verify_device_data(); | ||
471 | #endif | ||
472 | |||
462 | /* early early early! */ | 473 | /* early early early! */ |
463 | filesystem_init(); | 474 | filesystem_init(); |
464 | 475 | ||