From 80709f356f890136222f58672c8c41e8e202438b Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Mon, 20 Jun 2011 22:31:05 -0400 Subject: [PATCH] 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. --- flight/CopterControl/System/inc/pios_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/CopterControl/System/inc/pios_config.h b/flight/CopterControl/System/inc/pios_config.h index 392771a26..7f77c7a5e 100644 --- a/flight/CopterControl/System/inc/pios_config.h +++ b/flight/CopterControl/System/inc/pios_config.h @@ -85,8 +85,8 @@ #define AUXUART_BAUDRATE 19200 /* Alarm Thresholds */ -#define HEAP_LIMIT_WARNING 220 -#define HEAP_LIMIT_CRITICAL 150 +#define HEAP_LIMIT_WARNING 156 +#define HEAP_LIMIT_CRITICAL 130 #define CPULOAD_LIMIT_WARNING 80 #define CPULOAD_LIMIT_CRITICAL 95