[FL-1042][FL-1485][FL-1747] Metakom emulation fix (#721)

* iButton: Metakom emulation fix
* iButton: do not threat NVIC
* iButton: use proper GPIO from resources

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
SG
2021-09-24 22:16:59 +10:00
committed by GitHub
parent effda5ab44
commit c64052b491
3 changed files with 6 additions and 13 deletions

View File

@@ -144,7 +144,7 @@ void KeyEmulator::start_metakom_emulate(iButtonKey* key) {
uint8_t* key_data = key->get_data();
// start pulse
pulse_data[0] = metakom_period_full * 4;
pulse_data[0] = metakom_period_full;
// start triplet
set_pulse_data_metakom(pd_index, metakom_period_zero);