Rev 2132 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2132 | Rev 2138 | ||
---|---|---|---|
Line 165... | Line 165... | ||
165 | } |
165 | } |
166 | } |
166 | } |
167 | if (stop) { |
167 | if (stop) { |
168 | // Wait for new samples to get prepared but do not restart AD conversion after that! |
168 | // Wait for new samples to get prepared but do not restart AD conversion after that! |
169 | // Caller MUST to that. |
169 | // Caller MUST to that. |
170 | if (!analogDataReady) wdt_reset(); |
170 | while (!analogDataReady) wdt_reset(); |
171 | } |
171 | } |
172 | } |
172 | } |
Line 173... | Line 173... | ||
173 | 173 | ||
174 | #ifdef DO_PROFILE |
174 | #ifdef DO_PROFILE |