chore(cpn): Allow configuring AUX serial port as "External module" (#2854)

* Add external module to hardware settings

* Use serial port aux1 rather than radio profile externalaccessmod
Move module conversion function from OpenTxFirmare to ModuleData

* Remove externalaccessmod from radio profile options

* Unnecessary CMake option HARDWARE_EXTERNAL_ACCESS_MOD removed.

---------

Co-authored-by: rotorman <risto.koiva@web.de>
This commit is contained in:
Neil Horne
2023-03-05 19:12:32 +10:00
committed by GitHub
co-authored by rotorman
parent b4e13474df
commit c84abbf739
11 changed files with 186 additions and 157 deletions
@@ -130,7 +130,12 @@ class OpenTxFirmware: public Firmware
virtual QTime getMaxTimerStart();
virtual bool isAvailable(PulsesProtocol proto, int port=0);
// moved to ModuleData EdgeTX v2.9
virtual bool isAvailable(PulsesProtocol proto, int port=0)
{
qDebug() << "WARNING: Depreciate function called. Always returns false!";
return false;
}
protected: