we now reply to owner messages with our owner

This commit is contained in:
geeksville
2020-02-06 11:07:44 -08:00
parent 2792e2148f
commit 61a88a343e
4 changed files with 9 additions and 4 deletions

View File

@@ -68,13 +68,13 @@ bool MeshRadio::init()
ErrorCode MeshRadio::send(MeshPacket *p)
{
DEBUG_MSG("enquing packet for send from=%d, to=%d\n", p->from, p->to);
DEBUG_MSG("enquing packet for send from=0x%x, to=0x%x\n", p->from, p->to);
return txQueue.enqueue(p, 0); // nowait
}
ErrorCode MeshRadio::sendTo(NodeNum dest, const uint8_t *buf, size_t len)
{
DEBUG_MSG("mesh sendTo %d bytes to %d\n", len, dest);
DEBUG_MSG("mesh sendTo %d bytes to 0x%x\n", len, dest);
// FIXME - for now we do all packets as broadcast
dest = NODENUM_BROADCAST;