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

@ -127,7 +127,7 @@ void ESPMegaIoT::registerCard(uint8_t card_id)
return;
}
}
void ESPMegaIoT::deregisterCard(uint8_t card_id)
void ESPMegaIoT::unregisterCard(uint8_t card_id)
{
// Check if the card is registered
if (components[card_id] == NULL)