Parent Directory | Revision Log | Patch
revision 38 by hedin, Thu Feb 1 07:39:56 2007 UTC | revision 39 by hedin, Thu Feb 1 13:49:01 2007 UTC | |
---|---|---|
# | Line 33 short CH7Serial::readTarget(unsigned cha | Line 33 short CH7Serial::readTarget(unsigned cha |
33 | if ( (answer[0] & 0x0F) != 0x02) // tjek for ACK | if ( (answer[0] & 0x0F) != 0x02) // tjek for ACK |
34 | throw std::exception("Request not acknowledged"); | throw std::exception("Request not acknowledged"); |
35 | ||
36 | // if ( (answer[0] & 0xF0) != hi_target) | if ( (answer[0] & 0xF0) != hi_target) |
37 | // throw std::exception("Incorrect reply"); | throw std::exception("Incorrect reply"); |
38 | ||
39 | ||
40 | if (answer.size() == 2) | if (answer.size() == 2) |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |