projects
/
digitaldcpower
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0.6.3 Changes since last version
[digitaldcpower]
/
analog.c
diff --git
a/analog.c
b/analog.c
index
eedeb29
..
6c4b3d8
100644
(file)
--- a/
analog.c
+++ b/
analog.c
@@
-10,6
+10,7
@@
#include <inttypes.h>
#include <stdlib.h>
#include "dac.h"
+#include "uart.h"
#include "hardware_settings.h"
@@
-225,6
+226,8
@@
ISR(ADC_vect) {
if (channel==1){
// only after full measurement cycle
control_loop();
+ }else{
+ uart_poll_getchar_isr();
}
// end of interrupt handler
}