mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-03 04:23:52 +00:00
21 lines
301 B
C++
21 lines
301 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);
|
|
}
|