data/test/cpp/bec1a57ceae65395ac1428a899ce1c0fb7fabad0Dumping.cpp
unsigned char dumper_finished(){
    if (dump_current_servo_direction == DUMP_SERVO_EXTENDING){
        return (dump_position <= DUMP_SERVO_MAX);
    } else if (dump_current_servo_direction == DUMP_SERVO_RETRACTING) {
        return (dump_position >= DUMP_SERVO_MIN);
    }
    return true; 
}
// should return true if finished moving in any direction
should return true if finished moving in any direction
should return true if finished moving in any direction
unsigned char dumper_finished(){
    if (dump_current_servo_direction == DUMP_SERVO_EXTENDING){
        return (dump_position <= DUMP_SERVO_MAX);
    } else if (dump_current_servo_direction == DUMP_SERVO_RETRACTING) {
        return (dump_position >= DUMP_SERVO_MIN);
    }
    return true; 
}
unsigned char dumper_finished ( ) { if ( dump_current_servo_direction == DUMP_SERVO_EXTENDING ) { return ( dump_position <= DUMP_SERVO_MAX ) ; } else if ( dump_current_servo_direction == DUMP_SERVO_RETRACTING ) { return ( dump_position >= DUMP_SERVO_MIN ) ; } return true ; }
should return true if finished moving in any direction
should return true if finished moving in any direction