From 1ea49260537b1bc619c0e06941c41b6000656e44 Mon Sep 17 00:00:00 2001 From: Serge Vakulenko Date: Mon, 29 Oct 2018 11:59:28 -0700 Subject: [PATCH] Add TD-5R to the list of supported radios. --- 99-dmr.rules | 2 +- README.md | 4 ++-- radio.c | 2 +- rd5r.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/99-dmr.rules b/99-dmr.rules index f9f7b6d..e3ec865 100644 --- a/99-dmr.rules +++ b/99-dmr.rules @@ -8,7 +8,7 @@ # TYT MD-UV380 SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666" -# Baofeng RD-5R +# Baofeng RD-5R, TD-5R SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666" # Anytone AT-D868UV diff --git a/README.md b/README.md index a990fd0..8298431 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Supported radios: * TYT MD-UV380 * TYT MD-UV390, Retevis RT3S * TYT MD-9600 - * Baofeng RD-5R + * Baofeng RD-5R, TD-5R * Radioddity GD-77 * Anytone AT-D868UV (in development) * Zastone D900 @@ -54,7 +54,7 @@ Create a file /etc/udev/rules.d/99-dmr.rules with the following contents: # TYT MD-UV380 SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666" - # Baofeng RD-5R + # Baofeng RD-5R, TD-5R SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666" # Anytone AT-D868UV: ignore this device in Modem Manager diff --git a/radio.c b/radio.c index 15a3be3..68e34de 100644 --- a/radio.c +++ b/radio.c @@ -44,7 +44,7 @@ static struct { { "MD-UV390", &radio_uv390 }, // TYT MD-UV390, Retevis RT3S { "2017", &radio_md2017 }, // TYT MD-2017, Retevis RT82 { "MD9600", &radio_md9600 }, // TYT MD-9600 - { "BF-5R", &radio_rd5r }, // Baofeng RD-5R + { "BF-5R", &radio_rd5r }, // Baofeng RD-5R, TD-5R { "MD-760P", &radio_gd77 }, // Radioddity GD-77, version 3.1.1 and later { "D868UVE", &radio_d868uv }, // Anytone AT-D868UV { "ZD3688", &radio_d900 }, // Zastone D900 diff --git a/rd5r.c b/rd5r.c index 9c670f0..95ca239 100644 --- a/rd5r.c +++ b/rd5r.c @@ -1,5 +1,5 @@ /* - * Interface to Baofeng RD-5R. + * Interface to Baofeng RD-5R, TD-5R. * * Copyright (C) 2018 Serge Vakulenko, KK6ABQ * @@ -369,7 +369,7 @@ static void download(radio_device_t *radio) } // -// Baofeng RD-5R: read memory image. +// Read memory image. // static void rd5r_download(radio_device_t *radio) {