1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

Need to initialize the HwSettings before using them.

This commit is contained in:
James Cotton 2011-07-31 09:42:15 +09:00
parent c5bf0ac657
commit 035b4103c4

View File

@ -908,6 +908,8 @@ void PIOS_Board_Init(void) {
EventDispatcherInitialize();
UAVObjInitialize();
HwSettingsInitialize();
#if defined(PIOS_INCLUDE_RTC)
/* Initialize the real-time clock and its associated tick */
PIOS_RTC_Init(&pios_rtc_main_cfg);