+ } else if ((ts0diff >= (( 8 * NECREPEATLEN) / 10))
+ && (ts0diff <= ((12 * NECREPEATLEN) / 10))) {
+ if (curcodebit == 0xfe) {
+ console_printpgm_P(PSTR(".REP."));
+ if ((curirqts.ticks - repeatticks) > REPEATAFTERTICKS) {
+ if ((repeatcommand == 0x00) || (repeatcommand == 0x01)) {
+ /* Only the up/down arrows are allowed to be repeated */
+ lastcommand = repeatcommand;
+ }
+ }
+ }