X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fd6675219387500f61bfdcde608e326d30ff904b..d2ca5dbfe8def88a3d03493524854a79a2b462a1:/uart/uart.h diff --git a/uart/uart.h b/uart/uart.h index ce00bc0b..c0a709cf 100644 --- a/uart/uart.h +++ b/uart/uart.h @@ -88,6 +88,8 @@ extern bool uart_receive(const serial_port sp, uint8_t* pbtRx, size_t pszMaxRxLe /* Sends a buffer to a given serial port. * pbtTx: A pointer to a buffer containing the data to send. * szTxLen: The amount of data to be sent. + * + * Returns TRUE if all data could be sent within 30ms. */ extern bool uart_send(const serial_port sp, const uint8_t* pbtTx, const size_t szTxLen); @@ -99,5 +101,5 @@ bool uart_set_speed(serial_port sp, const uint32_t uiPortSpeed); */ extern uint32_t uart_get_speed(const serial_port sp); -#endif // _PM3_UART_H_ +#endif // PM3_UART_H__