Merge pull request #595 from 4712betaflight/development
Add missing uint32_t to #585
This commit is contained in:
commit
19b02db8dd
|
@ -56,7 +56,7 @@ void serialWriteBuf(serialPort_t *instance, uint8_t *data, int count)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t serialRxBytesWaiting(serialPort_t *instance)
|
uint32_t serialRxBytesWaiting(serialPort_t *instance)
|
||||||
{
|
{
|
||||||
return instance->vTable->serialTotalRxWaiting(instance);
|
return instance->vTable->serialTotalRxWaiting(instance);
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ struct serialPortVTable {
|
||||||
};
|
};
|
||||||
|
|
||||||
void serialWrite(serialPort_t *instance, uint8_t ch);
|
void serialWrite(serialPort_t *instance, uint8_t ch);
|
||||||
uint8_t serialRxBytesWaiting(serialPort_t *instance);
|
uint32_t serialRxBytesWaiting(serialPort_t *instance);
|
||||||
uint8_t serialTxBytesFree(serialPort_t *instance);
|
uint8_t serialTxBytesFree(serialPort_t *instance);
|
||||||
void serialWriteBuf(serialPort_t *instance, uint8_t *data, int count);
|
void serialWriteBuf(serialPort_t *instance, uint8_t *data, int count);
|
||||||
uint8_t serialRead(serialPort_t *instance);
|
uint8_t serialRead(serialPort_t *instance);
|
||||||
|
|
Loading…
Reference in New Issue