d-ronin / dRonin

The dRonin flight controller software.
http://dronin.org
Other
289 stars 167 forks source link

Do something sensible if user configures MSP on a port with MSP module disabled #158

Closed dustin closed 8 years ago

dustin commented 8 years ago

I was setting up my naze for autotune again real quick and managed to leave MSP configured up on the main port with the module disabled. Now I get to boot pin and reflash.

Desirable alternatives:

  1. Automatically enable MSP if MSP is configured to be in use.
  2. If MSP is disabled, then having MSP on a port should automatically make it telemetry if no other telemetry is enabled.

Latter is a little hacky.

/cc @tracernz

tracernz commented 8 years ago

This one fixes your issue here: https://github.com/tracernz/TauLabs/commit/d0fecdf480f3e67373b3889cdfd2ee065acde9fa and this one detects 57600 UAVTalk packets while running 115200 MSP: https://github.com/tracernz/TauLabs/commit/b301a50b0529438a9b8f2115701ec32a2f36139b

I should make a PR.

tracernz commented 8 years ago

Oh, I see the latter one includes the first one as well.