diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c index 0ce8bcc7ac..92e7149fe8 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -351,6 +351,8 @@ static void init(void) | |||
351 | 351 | ||
352 | settings_reset(); | 352 | settings_reset(); |
353 | 353 | ||
354 | i2c_init(); | ||
355 | |||
354 | power_init(); | 356 | power_init(); |
355 | 357 | ||
356 | set_irq_level(0); | 358 | set_irq_level(0); |
@@ -374,8 +376,6 @@ static void init(void) | |||
374 | #endif | 376 | #endif |
375 | #endif | 377 | #endif |
376 | 378 | ||
377 | i2c_init(); | ||
378 | |||
379 | #if CONFIG_RTC | 379 | #if CONFIG_RTC |
380 | rtc_init(); | 380 | rtc_init(); |
381 | #endif | 381 | #endif |