diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 10:44:44 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 10:44:44 +0200 |
commit | f66cd1a81400c80166aae8a65552370bf206c11b (patch) | |
tree | 776f54bc5fc8d93f5231c8f5ad6933398b3604f9 | |
parent | b903fc1ed3966400b9a585fd155bf844557fc345 (diff) | |
download | px4-firmware-f66cd1a81400c80166aae8a65552370bf206c11b.tar.gz px4-firmware-f66cd1a81400c80166aae8a65552370bf206c11b.tar.bz2 px4-firmware-f66cd1a81400c80166aae8a65552370bf206c11b.zip |
frsky telem: reduce stack, fix missing header
-rw-r--r-- | src/drivers/frsky_telemetry/frsky_data.c | 2 | ||||
-rw-r--r-- | src/drivers/frsky_telemetry/frsky_telemetry.c | 2 | ||||
-rw-r--r-- | src/drivers/frsky_telemetry/module.mk | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/frsky_telemetry/frsky_data.c b/src/drivers/frsky_telemetry/frsky_data.c index 57a03bc84..18de3f4da 100644 --- a/src/drivers/frsky_telemetry/frsky_data.c +++ b/src/drivers/frsky_telemetry/frsky_data.c @@ -53,6 +53,8 @@ #include <uORB/topics/vehicle_global_position.h> #include <uORB/topics/vehicle_status.h> +#include <drivers/drv_hrt.h> + /* FrSky sensor hub data IDs */ #define FRSKY_ID_GPS_ALT_BP 0x01 #define FRSKY_ID_TEMP1 0x02 diff --git a/src/drivers/frsky_telemetry/frsky_telemetry.c b/src/drivers/frsky_telemetry/frsky_telemetry.c index 7b08ca69e..6e0839043 100644 --- a/src/drivers/frsky_telemetry/frsky_telemetry.c +++ b/src/drivers/frsky_telemetry/frsky_telemetry.c @@ -222,7 +222,7 @@ int frsky_telemetry_main(int argc, char *argv[]) frsky_task = task_spawn_cmd("frsky_telemetry", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT, - 2048, + 2000, frsky_telemetry_thread_main, (const char **)argv); diff --git a/src/drivers/frsky_telemetry/module.mk b/src/drivers/frsky_telemetry/module.mk index 1632c74f7..9a49589ee 100644 --- a/src/drivers/frsky_telemetry/module.mk +++ b/src/drivers/frsky_telemetry/module.mk @@ -39,3 +39,5 @@ MODULE_COMMAND = frsky_telemetry SRCS = frsky_data.c \ frsky_telemetry.c + +MODULE_STACKSIZE = 1200 |