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:
parent
9f03ba178b
commit
1ad65e0718
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user