Detect MD-390 properly.
This commit is contained in:
parent
dd920925f1
commit
739580edfb
20
md380.c
20
md380.c
@ -2252,6 +2252,26 @@ radio_device_t radio_md380 = {
|
||||
//TODO: md380_write_csv,
|
||||
};
|
||||
|
||||
//
|
||||
// TYT MD-390
|
||||
//
|
||||
radio_device_t radio_md390 = {
|
||||
"TYT MD-390",
|
||||
md380_download,
|
||||
md380_upload,
|
||||
md380_is_compatible,
|
||||
md380_read_image,
|
||||
md380_save_image,
|
||||
md380_print_version,
|
||||
md380_print_config,
|
||||
md380_verify_config,
|
||||
md380_parse_parameter,
|
||||
md380_parse_header,
|
||||
md380_parse_row,
|
||||
md380_update_timestamp,
|
||||
//TODO: md380_write_csv,
|
||||
};
|
||||
|
||||
//
|
||||
// Zastone D900
|
||||
//
|
||||
|
1
radio.c
1
radio.c
@ -40,6 +40,7 @@ static struct {
|
||||
radio_device_t *device;
|
||||
} radio_tab[] = {
|
||||
{ "DR780", &radio_md380 }, // TYT MD-380, Retevis RT3, RT8
|
||||
{ "MD390", &radio_md390 }, // TYT MD-390
|
||||
{ "MD-UV380", &radio_uv380 }, // TYT MD-UV380
|
||||
{ "MD-UV390", &radio_uv390 }, // TYT MD-UV390, Retevis RT3S
|
||||
{ "2017", &radio_md2017 }, // TYT MD-2017, Retevis RT82
|
||||
|
1
radio.h
1
radio.h
@ -115,6 +115,7 @@ struct _radio_device_t {
|
||||
};
|
||||
|
||||
extern radio_device_t radio_md380; // TYT MD-380
|
||||
extern radio_device_t radio_md390; // TYT MD-390
|
||||
extern radio_device_t radio_md2017; // TYT MD-2017
|
||||
extern radio_device_t radio_uv380; // TYT MD-UV380
|
||||
extern radio_device_t radio_uv390; // TYT MD-UV390
|
||||
|
Loading…
Reference in New Issue
Block a user