diff options
-rwxr-xr-x | ROMFS/scripts/rcS | 13 | ||||
-rw-r--r-- | apps/uORB/Makefile | 2 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ROMFS/scripts/rcS b/ROMFS/scripts/rcS index 33f63ca87..7b8d51338 100755 --- a/ROMFS/scripts/rcS +++ b/ROMFS/scripts/rcS @@ -18,7 +18,7 @@ # can change this to prevent automatic startup of the flight script. # set MODE autostart -set USB no +set USB autoconnect # # Try to mount the microSD card. @@ -46,11 +46,16 @@ fi # # Check for USB host # -if sercon +if [ $USB != autoconnect ] then - echo "[init] USB interface connected" + echo "[init] not connecting USB" else - echo "[init] No USB connected" + if sercon + then + echo "[init] USB interface connected" + else + echo "[init] No USB connected" + fi fi # diff --git a/apps/uORB/Makefile b/apps/uORB/Makefile index 0766a66eb..64ba52e9c 100644 --- a/apps/uORB/Makefile +++ b/apps/uORB/Makefile @@ -37,6 +37,6 @@ APPNAME = uorb PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 2048 +STACKSIZE = 4096 include $(APPDIR)/mk/app.mk |