From 5978ebec2475e00df54706e0b93038936950c450 Mon Sep 17 00:00:00 2001 From: Hakan Bastedt Date: Tue, 2 Jan 2024 23:58:29 +0100 Subject: [PATCH] Pending tests. Merging this branch --- Firmware/src/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Firmware/src/main.cpp b/Firmware/src/main.cpp index 4a4a651..71f4993 100755 --- a/Firmware/src/main.cpp +++ b/Firmware/src/main.cpp @@ -142,15 +142,6 @@ void setup(void) MyTim->attachInterrupt(TimerStep_CB); pinMode(STEPPER_DIR_PIN, OUTPUT); - uint32_t i = 2; - while (1) - { - Obj.StepGenIn1.CommandedPosition = i; - sync0Handler(); - HAL_Delay(1000); - i++; - } - // Set starting count value EncoderInit.SetCount(Tim2, 0); // EncoderInit.SetCount(Tim3, 0);