Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of d7a_1x by
Diff: src/d7a_com.cpp
- Revision:
- 82:5d1b101b6d11
- Parent:
- 80:30265d5dd20a
- Child:
- 83:f4054d0b29ba
--- a/src/d7a_com.cpp Wed Dec 21 17:15:38 2016 +0000
+++ b/src/d7a_com.cpp Thu Jan 05 12:37:44 2017 +0000
@@ -346,10 +346,13 @@
else
{
// Shift by 1 byte
- WARNING(false, "COM Skipped byte 0x%02X.\r\n", header[0]);
+ //WARNING(false, "COM Skipped byte 0x%02X.\r\n", header[0]);
+ g_com_skipped_bytes++;
header[0] = header[1];
}
}
+
+ WARNING(!g_com_skipped_bytes, "COM Skipped %d bytes.\r\n", g_com_skipped_bytes);
}
/**
