Remove header check from md380_is_compatible().

Fix issue #9.
This commit is contained in:
Serge Vakulenko 2018-11-03 13:50:53 -07:00
parent 6fcb000036
commit 7a9fc7e534
1 changed files with 1 additions and 2 deletions

View File

@ -402,8 +402,7 @@ static void md380_upload(radio_device_t *radio, int cont_flag)
//
static int md380_is_compatible(radio_device_t *radio)
{
return strncmp("DfuSe", (char*)&radio_mem[0], 5) == 0 &&
strncmp("DR780", (char*)&radio_mem[0x125], 5) == 0;
return 1;
}
//