From c8b42d5976b6f29602a67aed8049d0a3f98afce0 Mon Sep 17 00:00:00 2001 From: dankers Date: Tue, 22 Dec 2009 05:09:53 +0000 Subject: [PATCH] Remove the RTC TODO. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@98 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/PiOS/STM32F10x/pios_sys.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/flight/PiOS/STM32F10x/pios_sys.c b/flight/PiOS/STM32F10x/pios_sys.c index a63e6d356..d65667b82 100644 --- a/flight/PiOS/STM32F10x/pios_sys.c +++ b/flight/PiOS/STM32F10x/pios_sys.c @@ -29,16 +29,12 @@ /* Project Includes */ #include "pios.h" - /* Private Function Prototypes */ void NVIC_Configuration(void); - -/* Local Variables */ /* File system object for each logical drive */ static FATFS Fatfs[_DRIVES]; - /** * Initializes all system peripherals */ @@ -49,8 +45,6 @@ void PIOS_SYS_Init(void) /* Initialize Basic NVIC */ NVIC_Configuration(); - -//TODo: Setup system time /* Initialize LEDs */ PIOS_LED_Init(); @@ -59,7 +53,7 @@ void PIOS_SYS_Init(void) if(f_mount(0, &Fatfs[0]) != FR_OK) { /* Failed to mount MicroSD filesystem, flash LED1 forever */ while(1) { - for(int i = 0; i < 1000; i++); + for(int i = 0; i < 100000; i++); PIOS_LED_Toggle(LED1); } }