CanRxFrame inherits CanFrame

This commit is contained in:
Pavel Kirienko
2014-02-02 22:58:44 +04:00
parent 8794c7eab9
commit 6790b04056
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ int CanIOManager::receive(CanRxFrame& frame, uint64_t monotonic_deadline)
assert(0); // Nonexistent interface
continue;
}
const int res = iface->receive(frame.frame, frame.timestamp);
const int res = iface->receive(frame, frame.timestamp);
if (res == 0)
{
assert(0); // select() reported that iface has pending RX frames, but receive() returned none