removed unused buffering in port and count dumped bytes instead of using tellp(), small fix in wait for bus after lost arbitration

This commit is contained in:
john30
2014-12-25 12:09:27 +01:00
parent 5d02119d1e
commit dd4127f57b
5 changed files with 63 additions and 145 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ int main(int argc, char* argv[])
cout << hex << setw(2) << setfill('0')
<< static_cast<unsigned>(byte) << endl;
port.send(&byte, 1);
port.send(byte);
usleep(A.getOptVal<long>("time"));
}