RCMM_UNIT
if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2))
if (eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT / 2))
else if (eq_margin(ev.duration, RCMM_PULSE_1, RCMM_UNIT / 2))
else if (eq_margin(ev.duration, RCMM_PULSE_2, RCMM_UNIT / 2))
else if (eq_margin(ev.duration, RCMM_PULSE_3, RCMM_UNIT / 2))
if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2))
ret = ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, space);
return ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, RCMM_PULSE_3 * 2);
.min_timeout = RCMM_PULSE_3 + RCMM_UNIT,
if (!eq_margin(ev.duration, RCMM_PREFIX_PULSE, RCMM_UNIT))
if (!eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT))