mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
bidir comm works
This commit is contained in:
@@ -63,6 +63,7 @@ bool MeshRadio::init()
|
||||
// FIXME - can we do this? It seems to be in the Heltec board.
|
||||
rf95.setTxPower(radioConfig.tx_power, false);
|
||||
|
||||
|
||||
DEBUG_MSG("LoRa radio init OK!\n");
|
||||
|
||||
return true;
|
||||
@@ -77,8 +78,6 @@ ErrorCode MeshRadio::send(MeshPacket *p)
|
||||
ErrorCode MeshRadio::sendTo(NodeNum dest, const uint8_t *buf, size_t len)
|
||||
{
|
||||
DEBUG_MSG("mesh sendTo %d bytes to 0x%x\n", len, dest);
|
||||
// FIXME - for now we do all packets as broadcast
|
||||
dest = NODENUM_BROADCAST;
|
||||
|
||||
assert(len <= 255); // Make sure we don't overflow the tiny max packet size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user