Remove old d868uv file size.

This commit is contained in:
Serge Vakulenko 2018-11-06 19:24:01 -08:00
parent 4e5cb83c61
commit b58985d3c8
2 changed files with 0 additions and 2 deletions

View File

@ -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");

View File

@ -201,7 +201,6 @@ void radio_read_image(const char *filename)
device = &radio_md380; device = &radio_md380;
break; break;
case 1606528: case 1606528:
case 1607296: // TODO: delete
device = &radio_d868uv; device = &radio_d868uv;
break; break;
case 131072: case 131072: