This commit is contained in:
Mark Qvist 2014-04-14 01:25:40 +02:00
parent b2d2def862
commit a2435d4721
2 changed files with 3 additions and 4 deletions

View File

@ -117,14 +117,13 @@ void mp1Poll(MP1 *mp1) {
// the end of the packet. Pass control to the // the end of the packet. Pass control to the
// decoder. // decoder.
if ((mp1->checksum_in & 0xff) == 0x00) { if ((mp1->checksum_in & 0xff) == 0x00) {
kprintf("[OK] ");
mp1Decode(mp1); mp1Decode(mp1);
} else { } else {
// Checksum was incorrect, we don't do anything, // Checksum was incorrect, we don't do anything,
// but you can enable the decode anyway, if you // but you can enable the decode anyway, if you
// need it for testing or debugging // need it for testing or debugging
kprintf("[ER] [%d] ", mp1->checksum_in); // kprintf("[ER] [%d] ", mp1->checksum_in);
mp1Decode(mp1); //mp1Decode(mp1);
} }
} }
// If the above is not the case, this must be the // If the above is not the case, this must be the

View File

@ -1,2 +1,2 @@
#define VERS_BUILD 829 #define VERS_BUILD 830
#define VERS_HOST "vixen" #define VERS_HOST "vixen"