mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 04:53:08 +00:00
keeloq custom buttons improvements
This commit is contained in:
parent
0390bd3ff9
commit
4b7875376b
1 changed files with 6 additions and 5 deletions
|
@ -425,14 +425,15 @@ static bool
|
|||
uint8_t klq_last_custom_btn = 0xA;
|
||||
if((strcmp(instance->manufacture_name, "BFT") == 0) ||
|
||||
(strcmp(instance->manufacture_name, "Aprimatic") == 0) ||
|
||||
(strcmp(instance->manufacture_name, "Dea_Mio") == 0)) {
|
||||
(strcmp(instance->manufacture_name, "Dea_Mio") == 0) ||
|
||||
(strcmp(instance->manufacture_name, "NICE_MHOUSE") == 0)) {
|
||||
klq_last_custom_btn = 0xF;
|
||||
}
|
||||
if((strcmp(instance->manufacture_name, "FAAC_RC,XT") == 0)) {
|
||||
} else if((strcmp(instance->manufacture_name, "FAAC_RC,XT") == 0)) {
|
||||
klq_last_custom_btn = 0xB;
|
||||
}
|
||||
if((strcmp(instance->manufacture_name, "Novoferm") == 0)) {
|
||||
} else if((strcmp(instance->manufacture_name, "Novoferm") == 0)) {
|
||||
klq_last_custom_btn = 0x9;
|
||||
} else if((strcmp(instance->manufacture_name, "NICE_Smilo") == 0)) {
|
||||
klq_last_custom_btn = 0xB;
|
||||
}
|
||||
|
||||
btn = subghz_protocol_keeloq_get_btn_code(klq_last_custom_btn);
|
||||
|
|
Loading…
Reference in a new issue