1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Small FreeRTOS fixes.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@294 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
gussy 2010-03-13 06:44:15 +00:00 committed by gussy
parent 3de8a31fa0
commit 978e07419d
2 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,7 @@
#define PIOS_INCLUDE_COM
#define PIOS_INCLUDE_SDCARD
#define PIOS_INCLUDE_SETTINGS
#define PIOS_INCLUDE_FREERTOS
/* Defaults for Logging */

View File

@ -52,8 +52,13 @@ int32_t PIOS_COM_Init(void)
receive_callback_func = NULL;
/* If any COM assignment: */
#if defined(PIOS_INCLUDE_USART)
PIOS_USART_Init();
#endif
#if defined(PIOS_INCLUDE_USB_HID)
PIOS_USB_HID_Init(0);
#endif
return ret;
}