From 035b4103c4c344b28d6294826a51237c3ac67676 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Sun, 31 Jul 2011 09:42:15 +0900 Subject: [PATCH] Need to initialize the HwSettings before using them. --- flight/CopterControl/System/pios_board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flight/CopterControl/System/pios_board.c b/flight/CopterControl/System/pios_board.c index 3da317097..785615280 100644 --- a/flight/CopterControl/System/pios_board.c +++ b/flight/CopterControl/System/pios_board.c @@ -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);