From ec5f9d232fce5543477817f3d4d64ece9a034a6a Mon Sep 17 00:00:00 2001 From: Corvus Corax Date: Sun, 11 Nov 2012 18:05:46 +0100 Subject: [PATCH] Revert "do not do configuration check on SimPosix architecture, its not ported yet" This reverts commit 112a3fe7e5e622033bc541c868e44f4b77a642e7. --- flight/Modules/System/systemmod.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/flight/Modules/System/systemmod.c b/flight/Modules/System/systemmod.c index e1a6120a5..8f5193c14 100644 --- a/flight/Modules/System/systemmod.c +++ b/flight/Modules/System/systemmod.c @@ -174,11 +174,8 @@ static void systemTask(void *parameters) // Listen for SettingPersistance object updates, connect a callback function ObjectPersistenceConnectQueue(objectPersistenceQueue); -#if defined(ARCH_POSIX) || defined(ARCH_WIN32) -#else // Run this initially to make sure the configuration is checked configuration_check(); -#endif // Whenever the configuration changes, make sure it is safe to fly SystemSettingsConnectCallback(configurationUpdatedCb); @@ -328,12 +325,7 @@ static void objectUpdatedCb(UAVObjEvent * ev) */ static void configurationUpdatedCb(UAVObjEvent * ev) { -#if defined(ARCH_POSIX) || defined(ARCH_WIN32) - // configuration_check requires board_info blobs and other structures - // that are not present on all architectures -#else configuration_check(); -#endif } /**