diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-23 08:25:37 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-23 08:25:37 +0100 |
commit | 8c8e9a4ff9584de9d48c1773ead49054ae538b06 (patch) | |
tree | 84488eb4600079eca91d7b86e497aa0e68f60f33 /src/modules/px4iofirmware | |
parent | cdbbc631f372f53aa151a0ff6a62f8e16a53e598 (diff) | |
download | px4-firmware-8c8e9a4ff9584de9d48c1773ead49054ae538b06.tar.gz px4-firmware-8c8e9a4ff9584de9d48c1773ead49054ae538b06.tar.bz2 px4-firmware-8c8e9a4ff9584de9d48c1773ead49054ae538b06.zip |
Enable the PX4IO self check and debug interfaces. No reason to disable them, since they are runtime-configured (and needed, for the case of memory)
Diffstat (limited to 'src/modules/px4iofirmware')
-rw-r--r-- | src/modules/px4iofirmware/px4io.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index 150af35df..e9838d38c 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (C) 2012 PX4 Development Team. All rights reserved. + * Copyright (c) 2012-2014 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -228,7 +228,6 @@ user_start(int argc, char *argv[]) /* initialize PWM limit lib */ pwm_limit_init(&pwm_limit); -#if 0 /* not enough memory, lock down */ if (minfo.mxordblk < 500) { lowsyslog("ERR: not enough MEM"); @@ -245,7 +244,6 @@ user_start(int argc, char *argv[]) phase = !phase; usleep(300000); } -#endif /* * Run everything in a tight loop. @@ -275,7 +273,6 @@ user_start(int argc, char *argv[]) check_reboot(); -#if 0 /* check for debug activity */ show_debug_messages(); @@ -292,7 +289,6 @@ user_start(int argc, char *argv[]) (unsigned)minfo.mxordblk); last_debug_time = hrt_absolute_time(); } -#endif } } |