mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-11 01:54:14 +01:00
Moved CPU and heap alarm thresholds into pios_config.h.
Fixed heap thresholds for the CC (prevented arming). git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2886 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
930928e6fa
commit
899c1fe0bf
@ -80,6 +80,13 @@
|
|||||||
#define AUXUART_ENABLED 0
|
#define AUXUART_ENABLED 0
|
||||||
#define AUXUART_BAUDRATE 19200
|
#define AUXUART_BAUDRATE 19200
|
||||||
|
|
||||||
|
/* Alarm Thresholds */
|
||||||
|
#define HEAP_LIMIT_WARNING 450
|
||||||
|
#define HEAP_LIMIT_CRITICAL 350
|
||||||
|
#define CPULOAD_LIMIT_WARNING 80
|
||||||
|
#define CPULOAD_LIMIT_CRITICAL 95
|
||||||
|
|
||||||
|
/* Task stack sizes */
|
||||||
#define PIOS_ACTUATOR_STACK_SIZE 1020
|
#define PIOS_ACTUATOR_STACK_SIZE 1020
|
||||||
#define PIOS_MANUAL_STACK_SIZE 644
|
#define PIOS_MANUAL_STACK_SIZE 644
|
||||||
#define PIOS_SYSTEM_STACK_SIZE 644
|
#define PIOS_SYSTEM_STACK_SIZE 644
|
||||||
|
@ -61,11 +61,6 @@
|
|||||||
|
|
||||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+2)
|
#define TASK_PRIORITY (tskIDLE_PRIORITY+2)
|
||||||
|
|
||||||
#define HEAP_LIMIT_WARNING 4000
|
|
||||||
#define HEAP_LIMIT_CRITICAL 1000
|
|
||||||
#define CPULOAD_LIMIT_WARNING 80
|
|
||||||
#define CPULOAD_LIMIT_CRITICAL 95
|
|
||||||
|
|
||||||
// Private types
|
// Private types
|
||||||
|
|
||||||
// Private variables
|
// Private variables
|
||||||
|
@ -79,6 +79,12 @@
|
|||||||
#define AUXUART_ENABLED 0
|
#define AUXUART_ENABLED 0
|
||||||
#define AUXUART_BAUDRATE 19200
|
#define AUXUART_BAUDRATE 19200
|
||||||
|
|
||||||
|
/* Alarm Thresholds */
|
||||||
|
#define HEAP_LIMIT_WARNING 4000
|
||||||
|
#define HEAP_LIMIT_CRITICAL 1000
|
||||||
|
#define CPULOAD_LIMIT_WARNING 80
|
||||||
|
#define CPULOAD_LIMIT_CRITICAL 95
|
||||||
|
|
||||||
#endif /* PIOS_CONFIG_H */
|
#endif /* PIOS_CONFIG_H */
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user