[FL-812] Fix emulation timings (#314)
* fix timings * fix default vendor id to 0
This commit is contained in:
parent
cf1c8fb223
commit
fd5f694758
@ -58,9 +58,9 @@ void em4100_emulation(uint8_t* data, GpioPin* pin) {
|
|||||||
|
|
||||||
for(uint8_t i = 0; i < 8; i++) {
|
for(uint8_t i = 0; i < 8; i++) {
|
||||||
for(uint8_t j = 0; j < 64; j++) {
|
for(uint8_t j = 0; j < 64; j++) {
|
||||||
delay_us(270);
|
delay_us(260);
|
||||||
gpio_write(pin, data[j]);
|
gpio_write(pin, data[j]);
|
||||||
delay_us(270);
|
delay_us(260);
|
||||||
gpio_write(pin, !data[j]);
|
gpio_write(pin, !data[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -188,7 +188,7 @@ void lf_rfid_workaround(void* p) {
|
|||||||
State _state;
|
State _state;
|
||||||
_state.freq_khz = 125;
|
_state.freq_khz = 125;
|
||||||
_state.on = false;
|
_state.on = false;
|
||||||
_state.customer_id = 01;
|
_state.customer_id = 00;
|
||||||
_state.em_data = 4378151;
|
_state.em_data = 4378151;
|
||||||
_state.dirty = true;
|
_state.dirty = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user