1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Changed 'mspSerialPush()' to not check displayPort when requesting current data.

This commit is contained in:
mikeller 2019-10-26 22:05:10 +13:00
parent 13d46c7d84
commit e7e46c578b
4 changed files with 9 additions and 13 deletions

View file

@ -59,7 +59,7 @@ static int output(displayPort_t *displayPort, uint8_t cmd, uint8_t *buf, int len
return 0;
}
#endif
return mspSerialPush(cmd, buf, len, MSP_DIRECTION_REPLY);
return mspSerialPush(displayPortProfileMsp()->displayPortSerial, cmd, buf, len, MSP_DIRECTION_REPLY);
}
static int heartbeat(displayPort_t *displayPort)