card rebinding support

This commit is contained in:
Siwat Sirichai 2023-12-31 13:41:48 +07:00
parent 724f8f42e9
commit e8804864b8
14 changed files with 270 additions and 176 deletions

View file

@ -107,7 +107,7 @@ uint8_t DigitalOutputCard::registerChangeCallback(std::function<void(uint8_t, bo
return this->callbacks_handler_index++;
}
void DigitalOutputCard::deregisterChangeCallback(uint8_t handler) {
void DigitalOutputCard::unregisterChangeCallback(uint8_t handler) {
this->change_callbacks.erase(handler);
}