Skip to content

Commit

Permalink
chore: cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
MrUnzO committed Dec 25, 2023
1 parent 45020bd commit 4c9d319
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Arduino/Esp32/Main/Main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1064,13 +1064,10 @@ void servoCommunicationTask( void * pvParameters )
rtDebugFilter.offerData({ isv57.servo_pos_given_p, isv57.servo_pos_error_p, isv57.servo_current_percent, servo_offset_compensation_steps_i32});
}




}
else
{
delay(1000);


#ifdef ISV_COMMUNICATION
if(!isv57LifeSignal_b){
Expand All @@ -1090,17 +1087,14 @@ void servoCommunicationTask( void * pvParameters )
if (servoCommuState && SENSORLESS_HOMING)
{
stepper->findMinMaxSensorless(&isv57);
delay(500);
isv57LifeSignal_b = true;
Serial.print("FindMinMax Done:");
Serial.println(isv57LifeSignal_b);
}


}
#endif


delay(1000);
}


Expand Down

0 comments on commit 4c9d319

Please sign in to comment.