Revert "fix(color): Scroll order for 'FlySky' module options (#3479)"

This reverts commit 54e0d350e8.
This commit is contained in:
Peter Feerick
2023-04-19 11:40:45 +10:00
parent 54e0d350e8
commit cf01c2b441
5 changed files with 55 additions and 147 deletions
-4
View File
@@ -857,10 +857,6 @@ void ProtoState::resetConfig(uint8_t version)
void ProtoState::applyConfigFromModel()
{
uint8_t version = 0;
#if defined(SIMU)
// TODO: work out why this is not initialised in some cases
if (moduleData == nullptr) return;
#endif
if (moduleData->afhds3.phyMode >= ROUTINE_FLCR1_18CH) {
version = 1;
}
-2
View File
@@ -264,11 +264,9 @@ void Transport::enqueue(COMMAND command, FRAME_TYPE frameType, bool useData,
void Transport::sendBuffer()
{
#if !defined(SIMU)
auto drv = modulePortGetSerialDrv(mod_st->tx);
auto ctx = modulePortGetCtx(mod_st->tx);
drv->sendBuffer(ctx, (uint8_t*)trsp.trsp_buffer, trsp.getFrameSize());
#endif
}
bool Transport::processQueue()