src/ESPStepperMotorServer.cpp
void ESPStepperMotorServer::removeStepper(byte id)
{
    if (this->serverConfiguration->getStepperConfiguration(id))
    {
        this->serverConfiguration->removeStepperConfiguration(id);
    }
    else
    {
        ESPStepperMotorServer_Logger::logWarningf("Stepper configuration index %i is invalid, no entry found or stepper IDs do not match, removeStepper() canceled\n", id);
    }
}
/**
 * remove the stepper configuration with the given index/id
 */
remove the stepper configuration with the given index/id
remove the stepper configuration with the given index / id
void ESPStepperMotorServer::removeStepper(byte id)
{
    if (this->serverConfiguration->getStepperConfiguration(id))
    {
        this->serverConfiguration->removeStepperConfiguration(id);
    }
    else
    {
        ESPStepperMotorServer_Logger::logWarningf("Stepper configuration index %i is invalid, no entry found or stepper IDs do not match, removeStepper() canceled\n", id);
    }
}
void ESPStepperMotorServer :: removeStepper ( byte id ) { if ( this -> serverConfiguration -> getStepperConfiguration ( id ) ) { this -> serverConfiguration -> removeStepperConfiguration ( id ) ; } else { ESPStepperMotorServer_Logger :: logWarningf ( " \n " , id ) ; } }
remove the stepper configuration with the given index/id
remove the stepper configuration with the given index / id