little vs big endian, forgot one

This commit is contained in:
iceman1001 committed 2021-06-22 07:53:43 +02:00
1 parent 083e557b9f
commit 5b8ddfc47e
1 file changed
+1 -1
+1 -1
View File
@@ -1313,7 +1313,7 @@ static bool em4x50_sim_read_word(uint32_t *word) {
}
}
*word = BYTES2UINT32(bytes);
*word = BYTES2UINT32_BE(bytes);
// check parities
if ((parities == parities_calculated) && (stop_bit == 0)) {