Merge pull request #147 from pyrog/fix146

Fix bad address offset
pull/186/head
F5OEO 2018-12-29 09:26:12 +01:00 zatwierdzone przez GitHub
commit 6a20339150
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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;
}
/**