mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
More memory tweaks to keep CC flowing
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2709 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
0de938090b
commit
e5b26bc67d
@ -57,7 +57,7 @@ FLASH_TOOL = OPENOCD
|
||||
USE_THUMB_MODE = YES
|
||||
|
||||
# List of modules to include
|
||||
MODULES = Telemetry Attitude Stabilization #Actuator ManualControl #FirmwareIAP
|
||||
MODULES = Telemetry Attitude Stabilization Actuator ManualControl #FirmwareIAP
|
||||
|
||||
# MCU name, submodel and board
|
||||
# - MCU used for compiler-option (-mcpu)
|
||||
|
@ -74,11 +74,11 @@
|
||||
#define AUXUART_ENABLED 0
|
||||
#define AUXUART_BAUDRATE 19200
|
||||
|
||||
#define PIOS_ACTUATOR_STACK_SIZE 992
|
||||
#define PIOS_ACTUATOR_STACK_SIZE 990
|
||||
#define PIOS_MANUAL_STACK_SIZE 624
|
||||
#define PIOS_SYSTEM_STACK_SIZE 624
|
||||
#define PIOS_STABILIZATION_STACK_SIZE 524
|
||||
#define PIOS_TELEM_STACK_SIZE 500
|
||||
#define PIOS_TELEM_STACK_SIZE 480
|
||||
|
||||
#endif /* PIOS_CONFIG_H */
|
||||
/**
|
||||
|
@ -97,7 +97,7 @@ int32_t AttitudeInitialize(void)
|
||||
AttitudeActualSet(&attitude);
|
||||
|
||||
// Create queue for passing gyro data, allow 2 back samples in case
|
||||
gyro_queue = xQueueCreate(2, sizeof(float) * 4);
|
||||
gyro_queue = xQueueCreate(1, sizeof(float) * 4);
|
||||
if(gyro_queue == NULL)
|
||||
return -1;
|
||||
PIOS_ADC_SetQueue(gyro_queue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user