diff --git a/md380.c b/md380.c index 23815f6..11589cb 100644 --- a/md380.c +++ b/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 // diff --git a/radio.c b/radio.c index ef855a7..ac555f8 100644 --- a/radio.c +++ b/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 diff --git a/radio.h b/radio.h index 3f8d331..c253539 100644 --- a/radio.h +++ b/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