mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-02 06:26:24 -04:00
Cleanup
This commit is contained in:
parent
b2d2def862
commit
a2435d4721
2 changed files with 3 additions and 4 deletions
|
@ -117,14 +117,13 @@ void mp1Poll(MP1 *mp1) {
|
|||
// the end of the packet. Pass control to the
|
||||
// decoder.
|
||||
if ((mp1->checksum_in & 0xff) == 0x00) {
|
||||
kprintf("[OK] ");
|
||||
mp1Decode(mp1);
|
||||
} else {
|
||||
// Checksum was incorrect, we don't do anything,
|
||||
// but you can enable the decode anyway, if you
|
||||
// need it for testing or debugging
|
||||
kprintf("[ER] [%d] ", mp1->checksum_in);
|
||||
mp1Decode(mp1);
|
||||
// kprintf("[ER] [%d] ", mp1->checksum_in);
|
||||
//mp1Decode(mp1);
|
||||
}
|
||||
}
|
||||
// If the above is not the case, this must be the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue