mirror of
https://github.com/markqvist/OpenModem.git
synced 2024-10-01 03:15:46 -04:00
Cleanup
This commit is contained in:
parent
b474fc4120
commit
21451f3fb1
@ -262,9 +262,7 @@ void mp1Poll(MP1 *mp1) {
|
||||
// corrected bytes.
|
||||
mp1->checksum_in ^= a;
|
||||
mp1->checksum_in ^= b;
|
||||
// DEL kprintf("wt %d %c\n", mp1->packetLength-(MP1_DATA_BLOCK_SIZE)+((i/3)*2), a);
|
||||
mp1->buffer[mp1->packetLength-(MP1_DATA_BLOCK_SIZE)+((i/3)*2)] = a;
|
||||
// DEL kprintf("wt %d %c\n", mp1->packetLength-(MP1_DATA_BLOCK_SIZE-1)+((i/3)*2), b);
|
||||
mp1->buffer[mp1->packetLength-(MP1_DATA_BLOCK_SIZE-1)+((i/3)*2)] = b;
|
||||
}
|
||||
|
||||
@ -390,7 +388,6 @@ static void mp1WriteByte(MP1 *mp1, uint8_t byte) {
|
||||
// be 3 bytes long due to the added parity
|
||||
// byte.
|
||||
static void mp1Putbyte(MP1 *mp1, uint8_t byte) {
|
||||
// DEL kprintf("wb %c\n", byte);
|
||||
mp1Interleave(mp1, byte);
|
||||
|
||||
if (sendParityBlock) {
|
||||
|
Loading…
Reference in New Issue
Block a user