[superbitrf] Added back commented binding parameter defines.

It is better to have a reference in the example airframes on how to
store the binding parameters. One can extract them using the telemetry
messages from the superbitrf subsystem.
This commit is contained in:
Piotr Esden-Tempski
2014-08-17 11:32:06 +02:00
parent bba214c6e4
commit d3e70f9919
2 changed files with 14 additions and 0 deletions
@@ -206,6 +206,13 @@
<firmware name="rotorcraft"> <firmware name="rotorcraft">
<target name="ap" board="lisa_s_1.0"> <target name="ap" board="lisa_s_1.0">
<subsystem name="radio_control" type="superbitrf_rc"> <subsystem name="radio_control" type="superbitrf_rc">
<!-- To store the binding parameters for the superbit radio in your
airframe file uncomment the following three lines and set the
correct values based on the output of the superbitrf telemetry
messages. -->
<!--define name="RADIO_TRANSMITTER_ID" value="1335259868"/--> <!-- Esden (1BitSquared) Dx6i: TX 1 -->
<!--define name="RADIO_TRANSMITTER_CHAN" value="6"/-->
<!--define name="RADIO_TRANSMITTER_PROTOCOL" value="0x01"/-->
<define name="RADIO_MODE" value="RADIO_FLAP"/> <define name="RADIO_MODE" value="RADIO_FLAP"/>
<define name="RADIO_KILL_SWITCH" value="RADIO_GEAR"/> <define name="RADIO_KILL_SWITCH" value="RADIO_GEAR"/>
</subsystem> </subsystem>
@@ -204,6 +204,13 @@
<firmware name="rotorcraft"> <firmware name="rotorcraft">
<target name="ap" board="lisa_s_1.0"> <target name="ap" board="lisa_s_1.0">
<subsystem name="radio_control" type="superbitrf_rc"> <subsystem name="radio_control" type="superbitrf_rc">
<!-- To store the binding parameters for the superbit radio in your
airframe file uncomment the following three lines and set the
correct values based on the output of the superbitrf telemetry
messages. -->
<!--define name="RADIO_TRANSMITTER_ID" value="1335259868"/--> <!-- Esden (1BitSquared) Dx6i: TX 1 -->
<!--define name="RADIO_TRANSMITTER_CHAN" value="6"/-->
<!--define name="RADIO_TRANSMITTER_PROTOCOL" value="0x01"/-->
<define name="USE_PERSISTENT_SETTINGS" value="TRUE"/> <define name="USE_PERSISTENT_SETTINGS" value="TRUE"/>
</subsystem> </subsystem>