summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018/stepper.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-02-07 01:34:05 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-02-07 01:34:05 +0000
commite528d8912601e151e2724176298e0365773b6b8e (patch)
tree5e6102f07c02d42db97fb48775a53470414ec05e /usb-i2c-sl018/stepper.c
parentadded manual switch (diff)
added to_string functions for events and states
git-svn-id: https://svn.spreadspace.org/avr/trunk@165 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/stepper.c')
-rw-r--r--usb-i2c-sl018/stepper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-i2c-sl018/stepper.c b/usb-i2c-sl018/stepper.c
index b4390c3..d2fd50f 100644
--- a/usb-i2c-sl018/stepper.c
+++ b/usb-i2c-sl018/stepper.c
@@ -55,7 +55,7 @@ inline void stop_stepper(void)
TIMSK1 = 0; // disable timer interrupt
}
-inline uint8_t handle_step(void)
+static inline uint8_t handle_step(void)
{
static uint8_t step_idx = 0;