mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 12:45:40 -05:00
Fix Alignment 2;
This commit is contained in:
@@ -382,7 +382,7 @@ uint8_t crc3(uint8_t bits[], unsigned int len)
|
|||||||
{
|
{
|
||||||
uint8_t crc=0;
|
uint8_t crc=0;
|
||||||
unsigned int K = 3;
|
unsigned int K = 3;
|
||||||
//x^3+x+1
|
//x^3+x+1
|
||||||
uint8_t poly[4] = {1,1,0,1};
|
uint8_t poly[4] = {1,1,0,1};
|
||||||
uint8_t buf[256];
|
uint8_t buf[256];
|
||||||
if (len+K > sizeof(buf)) {
|
if (len+K > sizeof(buf)) {
|
||||||
|
|||||||
@@ -367,8 +367,8 @@ processMbeFrame (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char a
|
|||||||
saveAmbe2450Data (opts, state, ambe_d);
|
saveAmbe2450Data (opts, state, ambe_d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((state->synctype == 28) || (state->synctype == 29)) //was 8 and 9
|
else if ((state->synctype == 28) || (state->synctype == 29)) //was 8 and 9
|
||||||
{
|
{
|
||||||
|
|
||||||
state->errs = mbe_eccAmbe3600x2450C0 (ambe_fr);
|
state->errs = mbe_eccAmbe3600x2450C0 (ambe_fr);
|
||||||
//state->errs2 = state->errs;
|
//state->errs2 = state->errs;
|
||||||
|
|||||||
Reference in New Issue
Block a user