summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-06-20 00:34:41 +0000
committerChristian Pointner <equinox@mur.at>2012-06-20 00:34:41 +0000
commitbb53e1f4c48a062d822aecbe02694dc5959faa30 (patch)
treed93e3edc1ca4d807605ed5e75b8abe8949076974 /tools
parentadded check for CMD_READ (diff)
adc sampling starts now via timer1 and ccp4 (less jitter)
some cleanup git-svn-id: https://svn.spreadspace.org/mur.sat@541 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools')
-rw-r--r--tools/idm-ringbuffer/ringbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idm-ringbuffer/ringbuffer.c b/tools/idm-ringbuffer/ringbuffer.c
index 0baa2a3..1b9d1b1 100644
--- a/tools/idm-ringbuffer/ringbuffer.c
+++ b/tools/idm-ringbuffer/ringbuffer.c
@@ -88,7 +88,7 @@ void rbuf_next()
}
}
-void timer2Interrupt()
+void adcInterrupt()
{
static char value = 0;
if (!overrun) {
@@ -150,7 +150,7 @@ int main()
case 'q': return 0;
case '\r':
case '\n': break;
- case '+': timer2Interrupt(); debugPrint(key); break;
+ case '+': adcInterrupt(); debugPrint(key); break;
case '0': spiData = 0; sspInterrupt(); debugPrint(key); break;
default: spiData = key; sspInterrupt(); debugPrint(key); break;
}