diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-30 19:11:27 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-30 19:11:27 +0100 |
commit | 137afdbd3cf8c9356fabf15e8acbb41661daf40b (patch) | |
tree | 1dd96914fef2e56c3e21c91568896a2d43989b9d /apps/commander | |
parent | edd2715f84532f6c4c748cc97f0fe8a2982aa885 (diff) | |
download | px4-firmware-137afdbd3cf8c9356fabf15e8acbb41661daf40b.tar.gz px4-firmware-137afdbd3cf8c9356fabf15e8acbb41661daf40b.tar.bz2 px4-firmware-137afdbd3cf8c9356fabf15e8acbb41661daf40b.zip |
Remove excessive mem usage
Diffstat (limited to 'apps/commander')
-rw-r--r-- | apps/commander/commander.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/commander/commander.c b/apps/commander/commander.c index 4b49201c7..e00dc13d2 100644 --- a/apps/commander/commander.c +++ b/apps/commander/commander.c @@ -363,6 +363,7 @@ void do_mag_calibration(int status_pub, struct vehicle_status_s *status) if (x == NULL || y == NULL || z == NULL) { warnx("mag cal failed: out of memory"); mavlink_log_info(mavlink_fd, "mag cal failed: out of memory"); + printf("x:%p y:%p z:%p\n", x, y, z); return; } @@ -1101,7 +1102,7 @@ int commander_main(int argc, char *argv[]) daemon_task = task_spawn("commander", SCHED_DEFAULT, SCHED_PRIORITY_MAX - 50, - 9000, + 4096, commander_thread_main, (argv) ? (const char **)&argv[2] : (const char **)NULL); thread_running = true; |