minor adjustments..

This commit is contained in:
iceman1001 2017-07-30 11:15:48 +02:00
commit 0e31ed346a
4 changed files with 14 additions and 199 deletions

View file

@ -223,14 +223,14 @@ bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t szTxLen)
// Write error
if (res < 0) {
printf("write error\n");
return false;
printf("UART:: write error\n");
return false;
}
// Write time-out
if (res == 0) {
printf("write time-out\n");
return false;
printf("UART:: write time-out\n");
return false;
}
// Send away the bytes
@ -238,7 +238,7 @@ bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t szTxLen)
// Stop if the OS has some troubles sending the data
if (res <= 0) {
printf("os troubles\n");
printf("UART:: os troubles\n");
return false;
}