ADD: increased debug messages in order to see when commnunications break down between device and client.

Before it silently just broke and you just didn't know what happend..
This commit is contained in:
iceman1001 2017-12-21 10:16:21 +01:00
commit c9f7ba2ab0
3 changed files with 27 additions and 14 deletions

View file

@ -82,9 +82,9 @@ bool uart_receive(const serial_port sp, byte_t* pbtRx, size_t pszMaxRxLen, size_
/* 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.
* len: The amount of data to be sent.
*/
bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t szTxLen);
bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t len);
/* Sets the current speed of the serial port, in baud.
*/