Rev 902 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 902 | Rev 924 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | 116 | ||
117 | void Delay_ms_Mess(unsigned int w) |
117 | void Delay_ms_Mess(unsigned int w) |
118 | { |
118 | { |
119 | unsigned int akt; |
119 | unsigned int akt; |
120 | akt = SetDelay(w); |
120 | akt = SetDelay(w); |
- | 121 | while (!CheckDelay(akt)) |
|
- | 122 | { |
|
- | 123 | if (!(ADCSRA & (1<<ADSC))) ADC_START; |
|
- | 124 | } |
|
121 | while (!CheckDelay(akt)) ADC_START; |
125 | |
Line 122... | Line 126... | ||
122 | } |
126 | } |
123 | 127 | ||
124 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
128 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |