diff --git a/flight/CopterControl/System/pios_board.c b/flight/CopterControl/System/pios_board.c index d9023ffb9..a417ae7b8 100644 --- a/flight/CopterControl/System/pios_board.c +++ b/flight/CopterControl/System/pios_board.c @@ -969,7 +969,6 @@ void PIOS_Board_Init(void) { UAVObjInitialize(); HwSettingsInitialize(); - ManualControlSettingsInitialize(); #if defined(PIOS_INCLUDE_RTC) /* Initialize the real-time clock and its associated tick */ diff --git a/flight/OpenPilot/System/inc/pios_config.h b/flight/OpenPilot/System/inc/pios_config.h index 8e37dc95a..fce461483 100644 --- a/flight/OpenPilot/System/inc/pios_config.h +++ b/flight/OpenPilot/System/inc/pios_config.h @@ -46,8 +46,8 @@ #define PIOS_INCLUDE_SPEKTRUM //#define PIOS_INCLUDE_SBUS -#define PIOS_INCLUDE_PWM -#define PIOS_INCLUDE_PPM +//#define PIOS_INCLUDE_PWM +//#define PIOS_INCLUDE_PPM #define PIOS_INCLUDE_TELEMETRY_RF diff --git a/flight/OpenPilot/System/pios_board.c b/flight/OpenPilot/System/pios_board.c index 22bf12cad..520f542fd 100644 --- a/flight/OpenPilot/System/pios_board.c +++ b/flight/OpenPilot/System/pios_board.c @@ -1099,6 +1099,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); diff --git a/flight/PiOS/STM32F10x/link_STM3210E_OP_sections.ld b/flight/PiOS/STM32F10x/link_STM3210E_OP_sections.ld index 5d504bfdd..066fa01ee 100644 --- a/flight/PiOS/STM32F10x/link_STM3210E_OP_sections.ld +++ b/flight/PiOS/STM32F10x/link_STM3210E_OP_sections.ld @@ -1,7 +1,7 @@ /* This is the size of the stack for early init and for all FreeRTOS IRQs */ -_irq_stack_size = 0x400; +_irq_stack_size = 0x800; /* This is the size of the stack for early init: life span is until scheduler starts */ -_init_stack_size = 0x400; +_init_stack_size = 0x800; /* Check valid alignment for VTOR */ ASSERT(ORIGIN(FLASH) == ALIGN(ORIGIN(FLASH), 0x80), "Start of memory region flash not aligned for startup vector table");