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

Fixed some bugs in OpenPilot Core.

- syntax error in pios_board_posix.c introduced with Doxygen comment blocks
- platform dependant code had been added to openpilot.c instead of pios_board.c
- redundant header inclusion (stm32... already included by PiOS)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1171 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
corvus 2010-07-28 14:34:48 +00:00 committed by corvus
parent 32e6d53b23
commit c8486d08e4
3 changed files with 4 additions and 5 deletions

View File

@ -36,7 +36,6 @@
#include "openpilot.h"
#include "uavobjectsinit.h"
#include "systemmod.h"
#include "stm32f10x.h"
/* Task Priorities */
#define PRIORITY_TASK_HOOKS (tskIDLE_PRIORITY + 3)
@ -86,9 +85,6 @@ int main()
/* Brings up System using CMSIS functions, enables the LEDs. */
PIOS_SYS_Init();
WWDG_SetPrescaler(WWDG_Prescaler_8);
WWDG_SetWindowValue(0xff);
/* Initialize the system thread */
SystemModInitialize();

View File

@ -78,6 +78,10 @@ void PIOS_Board_Init(void) {
#endif
//PIOS_I2C_Init();
WWDG_SetPrescaler(WWDG_Prescaler_8);
WWDG_SetWindowValue(0xff);
}
/* MicroSD Interface

View File

@ -138,4 +138,3 @@ const uint8_t pios_com_num_devices = NELEMENTS(pios_com_devs);
/**
* @}
*/
*/