[Horus] Give pxx its own substruct instead of using ppm (cosmetics)

This commit is contained in:
Arne Schwabe
2016-09-05 15:57:27 +02:00
parent fd138cf22a
commit c16317609f
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ void setupPulsesPXX(uint8_t port)
#if defined(PCBHORUS)
uint8_t antenna = XJT_INTERNAL_ANTENNA;
if (port == INTERNAL_MODULE) {
antenna = g_model.moduleData[INTERNAL_MODULE].ppm.pulsePol;
antenna = g_model.moduleData[INTERNAL_MODULE].pxx.external_antenna;
}
putPcmByte(port, antenna);
#else