Merge pull request #4 from f1rmb/fix_compilation

Make it compile.
pull/7/head
sq5bpf 2023-08-17 13:11:25 +02:00 zatwierdzone przez GitHub
commit 15e1dde73e
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

@ -1005,7 +1005,7 @@ int main(int argc,char **argv)
exit(1);
}
if ((write_length>0)&&((write_length+write_offset)>=UVK5_MAX_FLASH_SIZE)) {
fprintf(stderr,"write_length+write_offset is bigger than the flash size\n",file,flash_length);
fprintf(stderr,"write_length (%d) + write_offset (%d) is bigger than the flash size (%d)\n", write_length, write_offset, UVK5_MAX_FLASH_SIZE);
exit(1);
}
close(ffd);