Remove old d868uv file size.
This commit is contained in:
parent
4e5cb83c61
commit
b58985d3c8
1
d868uv.c
1
d868uv.c
@ -1403,7 +1403,6 @@ static void d868uv_read_image(radio_device_t *radio, FILE *img)
|
|||||||
}
|
}
|
||||||
switch (st.st_size) {
|
switch (st.st_size) {
|
||||||
case MEMSZ:
|
case MEMSZ:
|
||||||
case MEMSZ + 0x300: // TODO: delete
|
|
||||||
// IMG file.
|
// IMG file.
|
||||||
if (fread(&radio_mem[0], 1, MEMSZ, img) != MEMSZ) {
|
if (fread(&radio_mem[0], 1, MEMSZ, img) != MEMSZ) {
|
||||||
fprintf(stderr, "Error reading image data.\n");
|
fprintf(stderr, "Error reading image data.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user