Properly set the receiver id before fetching settings
This commit is contained in:
@@ -660,7 +660,7 @@ void RxOptions::checkEvents()
|
||||
case RO_Init:
|
||||
// kickstart fetching RX settings
|
||||
memclear(&hwSettings, sizeof(hwSettings));
|
||||
//hwSettings.receiverSettings.receiverId = receiverIdx;
|
||||
hwSettings.receiverSettings.receiverId = receiverIdx;
|
||||
moduleState[moduleIdx].readModuleInformation(
|
||||
&hwSettings.modules[moduleIdx], receiverIdx, receiverIdx);
|
||||
state = RO_ReadModuleInfo;
|
||||
|
||||
Reference in New Issue
Block a user