diff -r 3a57b7a70683 -r 2a49d2586fbf trackswitch/main.c --- a/trackswitch/main.c Sat Dec 10 14:43:34 2011 +0100 +++ b/trackswitch/main.c Sat Dec 10 14:47:34 2011 +0100 @@ -15,6 +15,11 @@ ISR ( USART_RXC_vect ) { } +void solenoid_delay(void) { + _delay_ms(2); +} + + // TODO: TYPE should be configured somewhere else #define TRACKSWITCH_TYPE 1 // 1=double, 2=single left, 3=single right, 4=pitlane #define TYPE_DOUBLE 1 @@ -221,9 +226,6 @@ } #endif -void solenoid_delay(void) { - _delay_ms(10); -}