Merge pull request #171 from EdgeTX/model-wizard-fix

ZChar nightmare / take 2
This commit is contained in:
Raphael Coeffic
2021-06-09 12:14:20 +02:00
committed by GitHub
7 changed files with 74 additions and 61 deletions
+6 -1
View File
@@ -448,10 +448,15 @@ void deleteMix(uint8_t idx)
storageDirty(EE_MODEL);
}
#if defined(LUA)
// This is necessary as the LUA API uses th old interface
// where insertMix() has only one param. The channel is
// passed through s_currCh
void insertMix(uint8_t idx)
{
insertMix(idx, s_currCh + 1);
insertMix(idx, s_currCh - 1);
}
#endif
void copyMix(uint8_t source, uint8_t dest, int8_t ch)
{