Changeset 9147
- Timestamp:
- 08/01/08 17:19:36
- Files:
-
- usrp2/trunk/host-ng/lib/usrp2_impl.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
usrp2/trunk/host-ng/lib/usrp2_impl.cc
r9142 r9147 334 334 // FIXME iterate over payload, handling more than a single subpacket. 335 335 336 //int opcode = p[0];336 int opcode = p[0]; 337 337 unsigned int oplen = p[1]; 338 338 unsigned int rid = p[2]; … … 342 342 unsigned int buflen = rp->len(); 343 343 if (oplen != buflen) { 344 std::cerr << "usrp2: mismatched command reply length ( "345 << oplen << " != " << buflen << ")"346 << std::endl;344 std::cerr << "usrp2: mismatched command reply length (expected: " 345 << buflen << " got: " << oplen << "). " 346 << "op = " << opcode_to_string(opcode) << std::endl; 347 347 } 348 348
