FIX: Reverting the t55x7 timings. (@marshmellow42 's fix)

This commit is contained in:
iceman1001 2015-06-13 12:13:21 +02:00
parent 99789601dc
commit 550a929a69

View file

@ -1043,10 +1043,10 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol)
* To compensate antenna falling times shorten the write times
* and enlarge the gap ones.
*/
#define START_GAP 50*8 // 10 - 50fc 250
#define WRITE_GAP 20*8 // 8 - 30fc
#define WRITE_0 24*8 // 16 - 31fc 24fc 192
#define WRITE_1 54*8 // 48 - 63fc 54fc 432 for T55x7; 448 for E5550
#define START_GAP 31*8 // was 250 // SPEC: 8 - 50fc [15fc]
#define WRITE_GAP 20*8 // was 160 // SPEC: 8 - 20fc [10fc]
#define WRITE_0 18*8 // was 144 // SPEC: 16 - 32fc [24fc] 192
#define WRITE_1 50*8 // was 400 // SPEC: 48 - 64fc [56fc] 432 for T55x7; 448 for E5550
// VALUES TAKEN FROM EM4x function: SendForward
// START_GAP = 440; (55*8) cycles at 125Khz (8us = 1cycle)