diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 4a6f310..056782d 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -759,11 +759,6 @@ namespace ratgdo { set_timeout(500, [=] { this->send_command(Command::GET_STATUS); }); } - void RATGDOComponent::toggle_learn() - { - this->learn_state = learn_state_toggle(*this->learn_state); - } - void RATGDOComponent::subscribe_rolling_code_counter(std::function&& f) { // change update to children is defered until after component loop diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index c793aba..ff8b488 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -174,7 +174,6 @@ namespace ratgdo { void lock(); void unlock(); - void toggle_learn(); void activate_learn(); void inactivate_learn();