little vs big endian, forgot one
This commit is contained in:
1 parent
083e557b9f
commit
5b8ddfc47e
1 file changed
+1
-1
+1
-1
@@ -1313,7 +1313,7 @@ static bool em4x50_sim_read_word(uint32_t *word) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
*word = BYTES2UINT32(bytes);
|
*word = BYTES2UINT32_BE(bytes);
|
||||||
|
|
||||||
// check parities
|
// check parities
|
||||||
if ((parities == parities_calculated) && (stop_bit == 0)) {
|
if ((parities == parities_calculated) && (stop_bit == 0)) {
|
||||||
|
|||||||
Reference in new issue
Block a user