diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 00:14:33 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 00:14:33 -0700 |
commit | 91b67d3f4aff0686638828ed2629793cc04b8be4 (patch) | |
tree | c91b27ae568cc0f9286f97bd7743b60861921633 /src/modules/sensors | |
parent | 839373f5aebe462e55533c0e8a0b960de46d4c24 (diff) | |
parent | 9f097c1858d002eecbcda8cf8272fb8fbde1a31e (diff) | |
download | px4-firmware-91b67d3f4aff0686638828ed2629793cc04b8be4.tar.gz px4-firmware-91b67d3f4aff0686638828ed2629793cc04b8be4.tar.bz2 px4-firmware-91b67d3f4aff0686638828ed2629793cc04b8be4.zip |
Merge pull request #954 from PX4/stack_sweep
Stack sweep
Diffstat (limited to 'src/modules/sensors')
-rw-r--r-- | src/modules/sensors/module.mk | 2 | ||||
-rw-r--r-- | src/modules/sensors/sensors.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/sensors/module.mk b/src/modules/sensors/module.mk index aa538fd6b..5b1bc5e86 100644 --- a/src/modules/sensors/module.mk +++ b/src/modules/sensors/module.mk @@ -40,3 +40,5 @@ MODULE_PRIORITY = "SCHED_PRIORITY_MAX-5" SRCS = sensors.cpp \ sensor_params.c + +MODULE_STACKSIZE = 1200 diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index 18bf97f8d..8da6b06ef 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -1669,7 +1669,7 @@ Sensors::start() _sensors_task = task_spawn_cmd("sensors_task", SCHED_DEFAULT, SCHED_PRIORITY_MAX - 5, - 2048, + 2000, (main_t)&Sensors::task_main_trampoline, nullptr); |