Codebase list dmrconfig / db07bb0
Fix patch raising the contact limit on Anytone 868/878. Francois Marier 3 years ago
2 changed file(s) with 7 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
0 dmrconfig (1.1+git20190919.e47491e-5) unstable; urgency=medium
1
2 * Fix D868 contact raising patch.
3
4 -- Francois Marier <francois@debian.org> Mon, 21 Sep 2020 16:07:41 -0700
5
06 dmrconfig (1.1+git20190919.e47491e-4) unstable; urgency=medium
17
28 * Add a patch to fix "channel 65536 not found" errors on Anytone 878.
11 Description: Raise the contact limit for D868/D878 radios.
22 Bug: https://github.com/sergev/dmrconfig/issues/50
33 Forwarded: https://github.com/sergev/dmrconfig/pull/56
4 Last-Update: 2020-09-19
4 Last-Update: 2020-09-21
55
66 --- a/d868uv.c
77 +++ b/d868uv.c
1414 #define CALLSIGN_SIZE (12*1024*1024) // Size of callsign data
1515
1616 //
17 @@ -2724,7 +2724,7 @@ static void dump_csv(radio_device_t *radio)
18 unsigned index;
19
20 printf("Map:\n");
21 - for (index = 0; index < sz.count; index += 16000) {
22 + for (index = 0; index < sz.count; index += 20000) {
23 unsigned n = (sz.count - index) * 8;
24 if (n > 128000)
25 n = 128000;
26 @@ -2921,7 +2921,7 @@ static void d868uv_write_csv(radio_device_t *radio, FILE *csv)
27 #ifdef DUMP_NO_WRITE
28 printf("Map:\n");
29 #endif
30 - for (index = 0; index < sz.count; index += 16000) {
31 + for (index = 0; index < sz.count; index += 20000) {
32 unsigned n = (sz.count - index) * 8;
33 if (n > 128000)
34 n = 128000;