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
|
if sercon
|
||||||
then
|
then
|
||||||
echo "USB connected"
|
echo "USB connected"
|
||||||
sleep 3
|
|
||||||
mavlink start -d /dev/ttyACM0 -b 230400
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -104,7 +102,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Try to get an USB console
|
# Try to get an USB console
|
||||||
#nshterm /dev/ttyACM0 &
|
nshterm /dev/ttyACM0 &
|
||||||
|
|
||||||
#
|
#
|
||||||
# Upgrade PX4IO firmware
|
# Upgrade PX4IO firmware
|
||||||
|
|
|
@ -739,7 +739,7 @@ int mavlink_thread_main(int argc, char *argv[])
|
||||||
tcsetattr(uart, TCSANOW, &uart_config_original);
|
tcsetattr(uart, TCSANOW, &uart_config_original);
|
||||||
|
|
||||||
/* destroy log buffer */
|
/* destroy log buffer */
|
||||||
mavlink_logbuffer_destroy(&lb);
|
//mavlink_logbuffer_destroy(&lb);
|
||||||
|
|
||||||
thread_running = false;
|
thread_running = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue