From 6a6e9c39d0ad74de7f14fa3bc0474e9af9f4d4ea Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Mon, 6 Aug 2018 19:25:34 -0400 Subject: [PATCH] Remove trailing white space --- src/LoRa.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LoRa.cpp b/src/LoRa.cpp index 855f6bf..cecf277 100644 --- a/src/LoRa.cpp +++ b/src/LoRa.cpp @@ -390,7 +390,7 @@ void LoRaClass::setTxPower(int level, int outputPin) level = 2; } //Default value PA_HF/LF or +17dBm - writeRegister(REG_PA_DAC, 0x84); + writeRegister(REG_PA_DAC, 0x84); setOCP(100); } @@ -485,10 +485,10 @@ void LoRaClass::setLdoFlag() { // Section 4.1.1.5 long symbolDuration = 1000 / ( getSignalBandwidth() / (1L << getSpreadingFactor()) ) ; - + // Section 4.1.1.6 boolean ldoOn = symbolDuration > 16; - + uint8_t config3 = readRegister(REG_MODEM_CONFIG_3); bitWrite(config3, 3, ldoOn); writeRegister(REG_MODEM_CONFIG_3, config3); @@ -538,7 +538,7 @@ void LoRaClass::setOCP(uint8_t mA) ocpTrim = (mA + 30) / 10; } - writeRegister(REG_OCP, 0x20 | (0x1F & ocpTrim)); + writeRegister(REG_OCP, 0x20 | (0x1F & ocpTrim)); } byte LoRaClass::random()