Fix windows compilation

This commit is contained in:
3djc
2021-05-07 10:58:39 +02:00
parent 68f3727d2c
commit dfc84a9b85
+2 -2
View File
@@ -257,13 +257,13 @@ void sendChannels(uint8_t moduleIdx)
void convertMultiProtocolToOtx(int *protocol, int *subprotocol)
{
if (*protocol == 3 and *subprotocol == 0) {
if (*protocol == 3 && *subprotocol == 0) {
*protocol = MODULE_SUBTYPE_MULTI_FRSKY + 1;
*subprotocol = MM_RF_FRSKY_SUBTYPE_D8;
return;
}
if (*protocol == 3 and *subprotocol == 1) {
if (*protocol == 3 && *subprotocol == 1) {
*protocol = MODULE_SUBTYPE_MULTI_FRSKY + 1;
*subprotocol = MM_RF_FRSKY_SUBTYPE_D8_CLONED;
return;