summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018/tuer-rfid.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-i2c-sl018/tuer-rfid.c')
-rw-r--r--usb-i2c-sl018/tuer-rfid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c
index 7f41798..c77b6f2 100644
--- a/usb-i2c-sl018/tuer-rfid.c
+++ b/usb-i2c-sl018/tuer-rfid.c
@@ -439,8 +439,11 @@ int main(void)
CDC_Device_CreateStream(&VirtualSerial_CDC_Interface,&usb_stream);
init_heartbeat();
+ init_stepper();
sl018_reset();
+ start_stepper(dir_close);
+
for(;;) {
CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
USB_USBTask();