If I place a return statement at the end of the execute statement, should I be okay? Because at the moment I have something like this
Code:
TeleopDefault::Initialize(){
//some code
button->WhenPressed(new DropGear());
button->WhenReleased(this);
}
This almost works for now. I will look into it a bit further.