Files
lobbs/platforms/meshtastic/LoBBSModule.cpp
T
Ben Allfree 1243b2bc1b refactor(core): split pal from kernel
Move the BBS kernel under core/ and host I/O under platforms/.
2026-10-07 15:54:38 -07:00

15 lines
397 B
C++

#if defined(LOBBS_PLATFORM_MESHTASTIC)
#include "platforms/meshtastic/LoBBSModule.h"
#include "platforms/meshtastic/LoBBSDispatchMeshtastic.h"
LoBBSModule::LoBBSModule() : SinglePortModule("LoBBS", meshtastic_PortNum_TEXT_MESSAGE_APP)
{
kernel_.begin();
}
ProcessMessage LoBBSModule::handleReceived(const meshtastic_MeshPacket &mp)
{
return lobbsDispatchReceived(&kernel_, mp);
}
#endif