From b58985d3c848b927e91699d97f96d9de014c3fc7 Mon Sep 17 00:00:00 2001 From: Serge Vakulenko Date: Tue, 6 Nov 2018 19:24:01 -0800 Subject: [PATCH] Remove old d868uv file size. --- d868uv.c | 1 - radio.c | 1 - 2 files changed, 2 deletions(-) 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: