76 CONTROLLER_PORT |= (_BV(CONTROLLER1_SW) | _BV(CONTROLLER2_SW) | _BV(CONTROLLER3_SW) | _BV(CONTROLLER4_SW)); |
76 CONTROLLER_PORT |= (_BV(CONTROLLER1_SW) | _BV(CONTROLLER2_SW) | _BV(CONTROLLER3_SW) | _BV(CONTROLLER4_SW)); |
77 |
77 |
78 // switch pull-ups |
78 // switch pull-ups |
79 SW_FUEL_PORT |= _BV(SW_FUEL); |
79 SW_FUEL_PORT |= _BV(SW_FUEL); |
80 SW_START_PORT |= _BV(SW_START); |
80 SW_START_PORT |= _BV(SW_START); |
81 SW_PACECAR_PORT |= _BV(SW_PACECAR); |
81 //SW_PACECAR_PORT |= _BV(SW_PACECAR); |
82 |
82 |
83 // control outputs |
83 // control outputs |
84 DDR(LAP_COUNTER_PORT) |= _BV(LAP_COUNTER); |
84 DDR(LAP_COUNTER_PORT) |= _BV(LAP_COUNTER); |
85 |
85 |
86 // setup rail control |
86 // setup rail control |