From dd920925f15e8a0520a5983f81aebb07316edb83 Mon Sep 17 00:00:00 2001 From: Serge Vakulenko Date: Fri, 23 Nov 2018 22:36:35 -0800 Subject: [PATCH] Make sure contacts are continuous for d868uv. --- d868uv.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/d868uv.c b/d868uv.c index 04bd65a..cc04147 100644 --- a/d868uv.c +++ b/d868uv.c @@ -2675,6 +2675,16 @@ static int d868uv_verify_config(radio_device_t *radio) ncontacts++; } + // Contacts have to be continuous for UV380. + for (i=0; iname); + nerrors++; + break; + } + } + if (nerrors > 0) { fprintf(stderr, "Total %d errors.\n", nerrors); return 0;