|
6 | 6 |
|
7 | 7 | /* |
8 | 8 | * TODO: |
9 | | - * - /CS high time by emtpy spi transfer for TLE94108 |
| 9 | + * - /CS high time by empty spi transfer for TLE94108 |
10 | 10 | * |
11 | 11 | */ |
12 | 12 |
|
@@ -127,7 +127,7 @@ void Ftduino::adc_init() { |
127 | 127 | // setup 4051 mux driving the pullups |
128 | 128 | cd4051_init(); |
129 | 129 |
|
130 | | - // disable digitial function of analog pins |
| 130 | + // disable digital function of analog pins |
131 | 131 | DIDR0 = (1 << ADC7D) | (1 << ADC6D) | (1 << ADC5D) | (1 << ADC4D); |
132 | 132 | DIDR2 = (1 << ADC11D) | (1 << ADC10D) | (1 << ADC9D) | (1 << ADC8D); |
133 | 133 |
|
@@ -908,7 +908,7 @@ void Ftduino::ext_interrupt3() { |
908 | 908 |
|
909 | 909 | void Ftduino::pc_interrupt() { |
910 | 910 | // The hardware won't tell us which pin fired this interrupt. |
911 | | - // so we need to keep track of that outselves |
| 911 | + // so we need to keep track of that ourselves |
912 | 912 | static uint8_t portb_state = 0xff; // assume both pins are pulled high |
913 | 913 | uint8_t pinb = PINB; |
914 | 914 |
|
@@ -950,7 +950,7 @@ void Ftduino::counter_init(void) { |
950 | 950 |
|
951 | 951 | // run timer 1 in fast pwm mode with OCR1A as top. Since OCR1A is lower |
952 | 952 | // than OCR1B, the counter will normally never pass OCR1B and the |
953 | | - // interrupt will thus never fire unless TCNT is explicitely being |
| 953 | + // interrupt will thus never fire unless TCNT is explicitly being |
954 | 954 | // set to a value > OCR1A |
955 | 955 | TCCR1B = (1<<WGM13) | (1<<WGM12); |
956 | 956 | TCCR1A = (1<<WGM11) | (1<<WGM10); |
|
0 commit comments