jspc29
/
avr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175be29
)
ADCuC: speedup conversion
author
Philipp Klaus
<klaus@physik.uni-frankfurt.de>
Thu, 13 Jul 2017 12:39:50 +0000
(14:39 +0200)
committer
Philipp Klaus
<klaus@physik.uni-frankfurt.de>
Thu, 13 Jul 2017 12:39:50 +0000
(14:39 +0200)
atmega32u4/adcuc/main.c
patch
|
blob
|
history
diff --git
a/atmega32u4/adcuc/main.c
b/atmega32u4/adcuc/main.c
index 92d774b0a24da7c0a84b78bef479eec6bd7251b5..491804b49cf3b0feeede3aa9de3a621bee66b2a0 100644
(file)
--- a/
atmega32u4/adcuc/main.c
+++ b/
atmega32u4/adcuc/main.c
@@
-239,7
+239,7
@@
__attribute__((naked)) int main(void) {
if (conversion_active == 1) {
switch(step++) {
case 0: do_channel(channel); break;
- case 1
0
:
+ case 1:
read_channel(channel);
conversion_active = 0;
step = 0;