diff --git a/d868uv.c b/d868uv.c index 45727c6..073821f 100644 --- a/d868uv.c +++ b/d868uv.c @@ -1403,7 +1403,6 @@ static void d868uv_read_image(radio_device_t *radio, FILE *img) } switch (st.st_size) { case MEMSZ: - case MEMSZ + 0x300: // TODO: delete // IMG file. if (fread(&radio_mem[0], 1, MEMSZ, img) != MEMSZ) { fprintf(stderr, "Error reading image data.\n"); diff --git a/radio.c b/radio.c index 3f5d2b1..0fc9e38 100644 --- a/radio.c +++ b/radio.c @@ -201,7 +201,6 @@ void radio_read_image(const char *filename) device = &radio_md380; break; case 1606528: - case 1607296: // TODO: delete device = &radio_d868uv; break; case 131072: