Add MSP command to enable serial passthrough. This makes a few desirable things possible.
commit42f7bd5287b76866a3109759c1874a9ef4d4c2f3
authorBen Timby <btimby@gmail.com>
Tue, 22 Mar 2016 02:34:44 +0000 (21 22:34 -0400)
committerDominic Clifton <dominic.clifton@cleanflight.com>
Mon, 31 Oct 2016 18:00:41 +0000 (31 19:00 +0100)
treebdf1f5c2f7eb80f77bf62c2465f9dfe7efe97887
parentce956346701da7769532bf434154f250efc94e42
Add MSP command to enable serial passthrough. This makes a few desirable things possible.

 - Allow the cleanflight GUI to initiate passthrough (like a button on ports config tab).
 - Allow the MWOSD GUI to initiate passthrough.

Also, I know Dominic is keen to remove the CLI at some point and supporting this in MSP would be required.

I lifted the idea from this MultiWii proposal:

http://www.multiwii.com/forum/viewtopic.php?p=62207
src/main/msp/msp_protocol.h