1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00

alarms: lower heap warning and critical thresholds for CC

Free heap on CC is currently 160 bytes so the current thresholds
were causing a continual alarm condition, thus preventing arming.
This commit is contained in:
Stacey Sheldon 2011-06-20 22:31:05 -04:00 committed by James Cotton
parent dc651b6604
commit d1104d3fdc

View File

@ -94,8 +94,8 @@
#define AUXUART_BAUDRATE 19200 #define AUXUART_BAUDRATE 19200
/* Alarm Thresholds */ /* Alarm Thresholds */
#define HEAP_LIMIT_WARNING 220 #define HEAP_LIMIT_WARNING 156
#define HEAP_LIMIT_CRITICAL 150 #define HEAP_LIMIT_CRITICAL 130
#define CPULOAD_LIMIT_WARNING 80 #define CPULOAD_LIMIT_WARNING 80
#define CPULOAD_LIMIT_CRITICAL 95 #define CPULOAD_LIMIT_CRITICAL 95