diff options
author | px4dev <px4@purgatory.org> | 2013-02-24 16:20:04 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-02-24 16:20:04 -0800 |
commit | e6228355557aa7e06551711fc5a5a2127ca683f3 (patch) | |
tree | 79fd71a6f872c4eb2b98f43ab8dc64262ab1e959 | |
parent | 6ac7e8b7e4662c297e02ffc43e2cd52126753fa2 (diff) | |
download | px4-firmware-e6228355557aa7e06551711fc5a5a2127ca683f3.tar.gz px4-firmware-e6228355557aa7e06551711fc5a5a2127ca683f3.tar.bz2 px4-firmware-e6228355557aa7e06551711fc5a5a2127ca683f3.zip |
Bump the task stack up to 1200 bytes to give the mixer loader some headroom. This addresses the last reported issue with this branch.
-rw-r--r-- | apps/px4io/controls.c | 2 | ||||
-rwxr-xr-x | nuttx/configs/px4io/io/defconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/controls.c b/apps/px4io/controls.c index 37872d356..21b4edcc3 100644 --- a/apps/px4io/controls.c +++ b/apps/px4io/controls.c @@ -167,7 +167,7 @@ controls_tick() { int16_t scaled = raw; - /* adjust to zero-relative around center */ + /* adjust to zero-relative around center (nominal -500..500) */ scaled -= conf[PX4IO_P_RC_CONFIG_CENTER]; /* scale to fixed-point representation (-10000..10000) */ diff --git a/nuttx/configs/px4io/io/defconfig b/nuttx/configs/px4io/io/defconfig index 1145fb349..bb937cf4e 100755 --- a/nuttx/configs/px4io/io/defconfig +++ b/nuttx/configs/px4io/io/defconfig @@ -541,7 +541,7 @@ CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n CONFIG_STACK_POINTER= CONFIG_IDLETHREAD_STACKSIZE=1024 -CONFIG_USERMAIN_STACKSIZE=800 +CONFIG_USERMAIN_STACKSIZE=1200 CONFIG_PTHREAD_STACK_MIN=512 CONFIG_PTHREAD_STACK_DEFAULT=1024 CONFIG_HEAP_BASE= |