chsw / MavLink_FrSkySPort

30 stars 62 forks source link

Updated to defines to align with FrSkySPort.h plus a few other misc changes #1

Closed ddyeakley closed 10 years ago

ddyeakley commented 10 years ago

1) Reordered defines. Add a few missing defines that might be useful. Changed SENSOR_ID_FLVSS to A1, I think this is correct see FrSkySPort.h at github.com/opentx/opentx.

2) Added DEBUG_AVERAGE_VOLTAGE to enable/disable "Number of samples for voltage average" message in release build.

3) Added support to debug base and custom mode

chsw commented 10 years ago

Looks good, thanks!. And you are correct abut FLVSS. I must have forgotten to change it back after my debugging/testing.

lvale commented 10 years ago

Hi I was getting the SensorID's from the Defines at frsky_sport.cpp, but had those not used now commented. Were we looking at the same OpenTX definitions ?

chsw commented 10 years ago

That's the same place I looked. I changed it while testing the possibility to support batteries with more then 6s, but forgot to reset the value afterwords. And about supporting >6s, don't really know if anybody would actually need that.