firmware-platformio/STEP400_firmware/src/utils.cpp
void clearHomingStatus(uint8_t motorId)
{
    if (bHoming[motorId])
    {
        homingStatus[motorId] = HOMING_UNDEFINED;
        bHoming[motorId] = false;
        sendTwoData("/homingStatus", motorId + MOTOR_ID_FIRST, homingStatus[motorId]);
    }
}
// When the stop commands are sent during a homing process, 
// clear the homing status as HOMING_UNDEFINED.
When the stop commands are sent during a homing process,
clear the homing status as HOMING_UNDEFINED.
When the stop commands are sent during a homing process clear the homing status as HOMING_UNDEFINED .
void clearHomingStatus(uint8_t motorId)
{
    if (bHoming[motorId])
    {
        homingStatus[motorId] = HOMING_UNDEFINED;
        bHoming[motorId] = false;
        sendTwoData("/homingStatus", motorId + MOTOR_ID_FIRST, homingStatus[motorId]);
    }
}
void clearHomingStatus ( uint8_t motorId ) { if ( bHoming [ motorId ] ) { homingStatus [ motorId ] = HOMING_UNDEFINED ; bHoming [ motorId ] = false ; sendTwoData ( " " , motorId + MOTOR_ID_FIRST , homingStatus [ motorId ] ) ; } }
When the stop commands are sent during a homing process,
clear the homing status as HOMING_UNDEFINED.
When the stop commands are sent during a homing process clear the homing status as HOMING_UNDEFINED .