Fix bad address offset

fix #146
pull/147/head
pyrog 2018-12-28 23:02:58 +01:00
rodzic 3049979ce7
commit c7705fa5fa
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -233,7 +233,7 @@ uint32_t encodeASCII(uint32_t initial_offset, char* str, uint32_t* out) {
* words will be filled with the idle value.
*/
int addressOffset(int address) {
return (address & 0x3) * FRAME_SIZE;
return (address & 0x7) * FRAME_SIZE;
}
/**