summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-06-15 14:48:00 +0000
committerChristian Pointner <equinox@mur.at>2012-06-15 14:48:00 +0000
commitd925055d28374cf9e9f0f288cc3a168bc4b7ff82 (patch)
tree66e2bd36036dfc87512ed748c4ddf0e5016a83b0 /tools
parentimproved output (diff)
renaming some more functions
git-svn-id: https://svn.spreadspace.org/mur.sat@533 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools')
-rw-r--r--tools/idm-ringbuffer/ringbuffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/idm-ringbuffer/ringbuffer.c b/tools/idm-ringbuffer/ringbuffer.c
index b4df162..85ebae3 100644
--- a/tools/idm-ringbuffer/ringbuffer.c
+++ b/tools/idm-ringbuffer/ringbuffer.c
@@ -64,7 +64,7 @@ void init()
cmd_read = FALSE;
}
-void incrementWriteIdx()
+void wbuf_next()
{
if (!overrun) {
writePtr++;
@@ -76,7 +76,7 @@ void incrementWriteIdx()
}
}
-void incrementReadIdx()
+void rbuf_next()
{
if(!underrun) {
readPtr++;
@@ -95,7 +95,7 @@ void beginRead()
void endRead()
{
- incrementReadIdx();
+ rbuf_next();
}
void timer2Interrupt()
@@ -103,7 +103,7 @@ void timer2Interrupt()
static char value = 0;
if (!overrun) {
*writePtr = ++value;
- incrementWriteIdx();
+ wbuf_next();
}
}