init shmem early to avoid random crash in fastrpc (#6407)

* init shmem early to avoid possible crash

* fix_code_style

* Keep the initialziation to NULL, remove the duplicate memory allocation
This commit is contained in:
Larry Wang
2017-01-20 23:30:46 -08:00
committed by Lorenz Meier
parent 7aea2ca030
commit 1beb2911e2
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@ param set MAV_BROADCAST 1
param set SDLOG_PRIO_BOOST 3
dataman start
navigator start
sleep 2
mavlink start -u 14556 -r 1000000
sleep 1
mavlink stream -u 14556 -s HIGHRES_IMU -r 50