mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-11 12:27:28 +00:00
17 lines
292 B
C++
17 lines
292 B
C++
#include "cardKbI2cImpl.h"
|
|
#include "InputBroker.h"
|
|
|
|
CardKbI2cImpl *cardKbI2cImpl;
|
|
|
|
CardKbI2cImpl::CardKbI2cImpl() : KbI2cBase("cardKB") {}
|
|
|
|
void CardKbI2cImpl::init()
|
|
{
|
|
if (cardkb_found != CARDKB_ADDR) {
|
|
disable();
|
|
return;
|
|
}
|
|
|
|
inputBroker->registerSource(this);
|
|
}
|