mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2024-12-24 23:19:43 -05:00
Stop aggressively logging transmit mode
This commit is contained in:
parent
71df428fa1
commit
840f0a7db6
7
LoRa.cpp
7
LoRa.cpp
@ -215,13 +215,6 @@ int LoRaClass::beginPacket(int implicitHeader)
|
||||
|
||||
int LoRaClass::endPacket()
|
||||
{
|
||||
#if LIBRARY_TYPE == LIBRARY_C
|
||||
std::cerr << "Entering transmit mode" << std::endl;
|
||||
for (uint8_t i = REG_OP_MODE ; i <= REG_PA_DAC; i++) {
|
||||
uint8_t val = readRegister(i);
|
||||
std::cerr << std::hex << "0x" << (int)i << " 0x" << (int)val << std::dec << std::endl;
|
||||
}
|
||||
#endif
|
||||
// put in TX mode
|
||||
writeRegister(REG_OP_MODE, MODE_LONG_RANGE_MODE | MODE_TX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user