forked from Archive/PX4-Autopilot
Hotfix: Identified mavlink issue source, workaround, working on a fix
This commit is contained in:
parent
b5ec359c79
commit
175020cb5b
|
@ -63,8 +63,6 @@ then
|
|||
if sercon
|
||||
then
|
||||
echo "USB connected"
|
||||
sleep 3
|
||||
mavlink start -d /dev/ttyACM0 -b 230400
|
||||
fi
|
||||
|
||||
#
|
||||
|
@ -104,7 +102,7 @@ then
|
|||
fi
|
||||
|
||||
# Try to get an USB console
|
||||
#nshterm /dev/ttyACM0 &
|
||||
nshterm /dev/ttyACM0 &
|
||||
|
||||
#
|
||||
# Upgrade PX4IO firmware
|
||||
|
|
|
@ -739,7 +739,7 @@ int mavlink_thread_main(int argc, char *argv[])
|
|||
tcsetattr(uart, TCSANOW, &uart_config_original);
|
||||
|
||||
/* destroy log buffer */
|
||||
mavlink_logbuffer_destroy(&lb);
|
||||
//mavlink_logbuffer_destroy(&lb);
|
||||
|
||||
thread_running = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue