Browse Source

Bump the task stack up to 1200 bytes to give the mixer loader some headroom. This addresses the last reported issue with this branch.

sbg
px4dev 12 years ago
parent
commit
e622835555
  1. 2
      apps/px4io/controls.c
  2. 2
      nuttx/configs/px4io/io/defconfig

2
apps/px4io/controls.c

@ -167,7 +167,7 @@ controls_tick() { @@ -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) */

2
nuttx/configs/px4io/io/defconfig

@ -541,7 +541,7 @@ CONFIG_BOOT_COPYTORAM=n @@ -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=

Loading…
Cancel
Save