Fix the problem that "when repeat_num!=0, there is no break, so irq_disable will be configured to true by default".