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

CC: Set the buffer size of USART smaller and register teh AHRSSettings

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2573 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2011-01-24 07:51:59 +00:00 committed by peabody124
parent e16b1bffa9
commit 23599ee59f
2 changed files with 4 additions and 4 deletions

View File

@ -221,7 +221,7 @@ TIM4 | RC In 1 | Servo 3 | Servo 2 | Servo 1
//-------------------------
// Servo outputs
//-------------------------
#define PIOS_SERVO_UPDATE_HZ 50
#define PIOS_SERVO_UPDATE_HZ 250
#define PIOS_SERVOS_INITIAL_POSITION 2000 /* dont want to start motors, have no pulse till settings loaded */
//-------------------------
@ -248,6 +248,6 @@ TIM4 | RC In 1 | Servo 3 | Servo 2 | Servo 1
#define PIOS_USB_DETECT_GPIO_PIN GPIO_Pin_15
#define PIOS_USB_DETECT_EXTI_LINE EXTI_Line15
#define PIOS_IRQ_USB_PRIORITY PIOS_IRQ_PRIO_MID
#define PIOS_USB_RX_BUFFER_SIZE 256
#define PIOS_USB_TX_BUFFER_SIZE 256
#define PIOS_USB_RX_BUFFER_SIZE 128
#define PIOS_USB_TX_BUFFER_SIZE 128
#endif /* STM32103CB_AHRS_H_ */

View File

@ -95,7 +95,7 @@ void UAVObjectsInitializeAll()
StabilizationSettingsInitialize();
ActuatorSettingsInitialize();
RateDesiredInitialize();
//AHRSSettingsInitialize();
AHRSSettingsInitialize();
ManualControlSettingsInitialize();
MixerSettingsInitialize();
MixerStatusInitialize();