Skip to content

Commit 53c47a1

Browse files
author
tr
committed
Remove trailing whitespaces
1 parent c35d7a2 commit 53c47a1

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1616
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1717
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1818
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19-
SOFTWARE.
19+
SOFTWARE.

Diff for: LoRaRF/SX126x.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class SX126x(BaseLoRa) :
229229
POWER_SAVING_GAIN = 0x94 # power saving gain register value
230230
BOOSTED_GAIN = 0x96 # boosted gain register value
231231

232-
# TX and RX operation status
232+
# TX and RX operation status
233233
STATUS_DEFAULT = 0 # default status (false)
234234
STATUS_TX_WAIT = 1
235235
STATUS_TX_TIMEOUT = 2
@@ -1036,7 +1036,7 @@ def setRxTxFallbackMode(self, fallbackMode: int) :
10361036

10371037
def writeRegister(self, address: int, data: tuple, nData: int) :
10381038
buf = (
1039-
(address >> 8) & 0xFF,
1039+
(address >> 8) & 0xFF,
10401040
address & 0xFF
10411041
) + tuple(data)
10421042
self._writeBytes(0x0D, buf, nData+2)

Diff for: LoRaRF/SX127x.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def setCurrentProtection(self, current: int) :
251251
self.writeRegister(self.REG_OCP, 0x20 | ocpTrim)
252252

253253
def setOscillator(self, option: int) :
254-
254+
255255
cfg = self.OSC_CRYSTAL
256256
if option == self.OSC_TCXO :
257257
cfg = self.OSC_TCXO
@@ -354,7 +354,7 @@ def setSpreadingFactor(self, sf: int) :
354354
# set appropriate signal detection optimize and threshold
355355
optimize = 0x03
356356
threshold = 0x0A
357-
if sf == 6 :
357+
if sf == 6 :
358358
optimize = 0x05
359359
threshold = 0x0C
360360
self.writeRegister(self.REG_DETECTION_OPTIMIZE, optimize)

Diff for: examples/SX127x/driver_rx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def settingFunction() :
104104
print("Set syncWord to 0x{:02X}".format(reg))
105105

106106
def receiveFunction(message: list) :
107-
107+
108108
print("\n-- RECEIVE FUNCTION --")
109109

110110
# Activate interrupt when transmit done on DIO0

Diff for: examples/SX127x/driver_tx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def settingFunction() :
102102
print("Set syncWord to 0x{:02X}".format(reg))
103103

104104
def transmitFunction(message: list) :
105-
105+
106106
print("\n-- TRANSMIT FUNCTION --")
107107

108108
# Configure FIFO address and address pointer for TX operation

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ requires = [
33
"setuptools>=42",
44
"wheel"
55
]
6-
build-backend = "setuptools.build_meta"
6+
build-backend = "setuptools.build_meta"

Diff for: setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers =
1919

2020
[options]
2121
include_package_data = True
22-
packages =
22+
packages =
2323
LoRaRF
2424
python_requires = >=2.7
2525
install_requires =

0 commit comments

Comments
 (0)