Merge pull request #595 from 4712betaflight/development

Add missing uint32_t to #585
This commit is contained in:
Martin Budden 2016-06-26 16:03:24 +01:00 committed by GitHub
commit 19b02db8dd
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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);