1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-28 17:54:15 +01:00

Fixed include in sysstemmod. pios_config.h should not be included explicitly.

This commit is contained in:
Corvus Corax 2011-08-20 15:04:00 +02:00
parent 9f03ba178b
commit 1ad65e0718
2 changed files with 10 additions and 1 deletions

View File

@ -49,7 +49,8 @@
#include "hwsettings.h"
#include "watchdogstatus.h"
#include "taskmonitor.h"
#include "pios_config.h"
//#include "pios_config.h" must not be included directly! - named differently on some platforms!
#include "pios.h"
// Private constants

View File

@ -59,6 +59,14 @@
#define TELEM_QUEUE_SIZE 20
#define PIOS_TELEM_STACK_SIZE 2048
/* Alarm Thresholds */
#define HEAP_LIMIT_WARNING 4000
#define HEAP_LIMIT_CRITICAL 1000
#define IRQSTACK_LIMIT_WARNING 150
#define IRQSTACK_LIMIT_CRITICAL 80
#define CPULOAD_LIMIT_WARNING 80
#define CPULOAD_LIMIT_CRITICAL 95
/* Stabilization options */
#define PIOS_QUATERNION_STABILIZATION