Commit a817bc34 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a bug in the comm_receive function: it returned succes when there was a timeout error.

parent cbc6cc15
......@@ -126,6 +126,8 @@ comm_error comm_receive(TComm *dev,unsigned char *data,unsigned short int *lengt
return error;
// get the received data
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment