mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 19:03:52 +00:00
Merge pull request #529 from mc-hamster/master
Accidentally checked in my rf deduplixer
This commit is contained in:
commit
776a978ea0
@ -245,6 +245,10 @@ void setup()
|
|||||||
SEGGER_RTT_ConfigUpBuffer(SEGGER_STDOUT_CH, NULL, NULL, 1024, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
SEGGER_RTT_ConfigUpBuffer(SEGGER_STDOUT_CH, NULL, NULL, 1024, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_SEGGER
|
||||||
|
SEGGER_RTT_ConfigUpBuffer(0, NULL, NULL, 0, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Debug
|
// Debug
|
||||||
#ifdef DEBUG_PORT
|
#ifdef DEBUG_PORT
|
||||||
DEBUG_PORT.init(); // Set serial baud rate and init our mesh console
|
DEBUG_PORT.init(); // Set serial baud rate and init our mesh console
|
||||||
|
@ -197,6 +197,8 @@ void RadioLibInterface::completeSending()
|
|||||||
txGood++;
|
txGood++;
|
||||||
printPacket("Completed sending", p);
|
printPacket("Completed sending", p);
|
||||||
|
|
||||||
|
digitalWrite(RADIO_TXRX, 0);
|
||||||
|
|
||||||
// We are done sending that packet, release it
|
// We are done sending that packet, release it
|
||||||
packetPool.release(p);
|
packetPool.release(p);
|
||||||
// DEBUG_MSG("Done with send\n");
|
// DEBUG_MSG("Done with send\n");
|
||||||
@ -258,6 +260,8 @@ void RadioLibInterface::handleReceiveInterrupt()
|
|||||||
/** start an immediate transmit */
|
/** start an immediate transmit */
|
||||||
void RadioLibInterface::startSend(MeshPacket *txp)
|
void RadioLibInterface::startSend(MeshPacket *txp)
|
||||||
{
|
{
|
||||||
|
digitalWrite(RADIO_TXRX, 1);
|
||||||
|
|
||||||
printPacket("Starting low level send", txp);
|
printPacket("Starting low level send", txp);
|
||||||
setStandby(); // Cancel any already in process receives
|
setStandby(); // Cancel any already in process receives
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user