Fix build

This commit is contained in:
Adam Novak 2022-02-21 21:19:10 +00:00
parent f7b2a60184
commit 73e75a19d2

View File

@ -215,7 +215,7 @@ int LoRaClass::beginPacket(int implicitHeader)
int LoRaClass::endPacket() int LoRaClass::endPacket()
{ {
#elif LIBRARY_TYPE == LIBRARY_C #if LIBRARY_TYPE == LIBRARY_C
std::cerr << "Entering transmit mode" << std::endl; std::cerr << "Entering transmit mode" << std::endl;
for (uint8_t i = REG_OP_MODE ; i <= REG_PA_DAC; i++) { for (uint8_t i = REG_OP_MODE ; i <= REG_PA_DAC; i++) {
uint8_t val = readRegister(i); uint8_t val = readRegister(i);