1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

fixed incompatible pointer types in softserial

This commit is contained in:
blckmn 2016-06-27 06:42:21 +10:00
parent 8e5d5e4fea
commit deaeb23c84
2 changed files with 2 additions and 2 deletions

View file

@ -408,7 +408,7 @@ void onSerialRxPinChange(timerCCHandlerRec_t *cbRec, captureCompare_t capture)
}
}
uint8_t softSerialRxBytesWaiting(serialPort_t *instance)
uint32_t softSerialRxBytesWaiting(serialPort_t *instance)
{
if ((instance->mode & MODE_RX) == 0) {
return 0;