blackbox/main.c

changeset 11
69c2a1408619
parent 10
6d6e982bbc41
child 33
c261350bb394
equal deleted inserted replaced
10:6d6e982bbc41 11:69c2a1408619
323 packet_index++; 323 packet_index++;
324 program_count--; 324 program_count--;
325 } 325 }
326 } else { 326 } else {
327 // output idle command 327 // output idle command
328 //if (do_program(7, 19, 0)) packet_index++; // reset 328 if (do_program(7, 19, 0)) packet_index++; // reset
329 //if (do_program(7, 20, 15)) packet_index++; // reset / pitstop detect 329 //if (do_program(7, 20, 15)) packet_index++; // reset / pitstop detect
330 if (insert_queue(0, 0)) packet_index++; // null command 330 //if (insert_queue(0, 0)) packet_index++; // null command
331 } 331 }
332 break; 332 break;
333 case 2: 333 case 2:
334 if (do_pace_ghost()) packet_index++; 334 if (do_pace_ghost()) packet_index++;
335 break; 335 break;

mercurial