1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

fix vendor specific model defaults

This commit is contained in:
Raphael Coeffic 2021-04-09 13:56:00 +02:00
parent 9579e5d833
commit 569b449861

View file

@ -426,7 +426,7 @@ void defaultGVars()
// - vendors should provide their own defaults in their own builds,
// - and disclose them by their own means (GPL compliance)
//
void vendorSpecificModelDefaults()
void setVendorSpecificModelDefaults()
{
#if defined(FRSKY_RELEASE)
g_model.moduleData[INTERNAL_MODULE].type = IS_PXX2_INTERNAL_ENABLED() ? MODULE_TYPE_ISRM_PXX2 : MODULE_TYPE_XJT_PXX1;
@ -473,6 +473,8 @@ void applyDefaultTemplate()
#endif
// TODO: what about switch warnings in non-color LCD radios?
setVendorSpecificModelDefaults();
}