mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
Revert "do not do configuration check on SimPosix architecture, its not ported yet"
This reverts commit 112a3fe7e5
.
This commit is contained in:
parent
112a3fe7e5
commit
ec5f9d232f
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user