Skip to content

Commit 6af2dce

Browse files
Add CI built packages from commit 68e0dfc of update/ruff
1 parent adc42cb commit 6af2dce

File tree

12 files changed

+16
-15
lines changed

12 files changed

+16
-15
lines changed

mip/update/ruff/file/96/96ea85dc

6.16 KB
Binary file not shown.

mip/update/ruff/file/1f/1f514f46 renamed to mip/update/ruff/file/ba/ba7bab05

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,9 @@ class _SX126x(BaseModem):
596596
pkt_status = self._cmd("B", _CMD_GET_PACKET_STATUS, n_read=4)
597597

598598
rx_packet.ticks_ms = ticks_ms
599-
rx_packet.snr = pkt_status[2] # SNR, units: dB *4
600-
rx_packet.rssi = 0 - pkt_status[1] // 2 # RSSI, units: dBm
599+
# SNR units are dB * 4 (signed)
600+
rx_packet.rssi, rx_packet.snr = struct.unpack("xBbx", pkt_status)
601+
rx_packet.rssi //= -2 # RSSI, units: dBm
601602
rx_packet.crc_error = (flags & _IRQ_CRC_ERR) != 0
602603

603604
return rx_packet
@@ -901,4 +902,4 @@ except ImportError:
901902
pass
902903

903904

904-
__version__ = '0.1.4'
905+
__version__ = '0.1.5'

mip/update/ruff/file/f5/f5f2bdfe

-6.13 KB
Binary file not shown.

mip/update/ruff/index.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -914,16 +914,16 @@
914914
},
915915
{
916916
"name": "lora-sx126x",
917-
"version": "0.1.4",
917+
"version": "0.1.5",
918918
"author": "",
919919
"description": "",
920920
"license": "MIT",
921921
"versions": {
922922
"py": [
923-
"0.1.4"
923+
"0.1.5"
924924
],
925925
"6": [
926-
"0.1.4"
926+
"0.1.5"
927927
]
928928
},
929929
"path": "micropython/lora/lora-sx126x"
@@ -1938,5 +1938,5 @@
19381938
}
19391939
],
19401940
"v": 2,
1941-
"updated": 1745456536
1941+
"updated": 1745477730
19421942
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","f5f2bdfe"],["lora/stm32wl5.mpy","54451328"]],"version":"0.1"}
1+
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","96ea85dc"],["lora/stm32wl5.mpy","54451328"]],"version":"0.1"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","f5f2bdfe"],["lora/stm32wl5.mpy","54451328"]],"version":"0.1"}
1+
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","96ea85dc"],["lora/stm32wl5.mpy","54451328"]],"version":"0.1"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","f5f2bdfe"]],"version":"0.1.4"}
1+
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","96ea85dc"]],"version":"0.1.5"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","f5f2bdfe"]],"version":"0.1.4"}
1+
{"v":1,"hashes":[["lora/modem.mpy","922dc6fa"],["lora/__init__.mpy","5b4fa409"],["lora/sx126x.mpy","96ea85dc"]],"version":"0.1.5"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","1f514f46"],["lora/stm32wl5.py","0241dbfe"]],"version":"0.1"}
1+
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","ba7bab05"],["lora/stm32wl5.py","0241dbfe"]],"version":"0.1"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","1f514f46"],["lora/stm32wl5.py","0241dbfe"]],"version":"0.1"}
1+
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","ba7bab05"],["lora/stm32wl5.py","0241dbfe"]],"version":"0.1"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","1f514f46"]],"version":"0.1.4"}
1+
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","ba7bab05"]],"version":"0.1.5"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","1f514f46"]],"version":"0.1.4"}
1+
{"v":1,"hashes":[["lora/modem.py","264a95dd"],["lora/__init__.py","78952de1"],["lora/sx126x.py","ba7bab05"]],"version":"0.1.5"}

0 commit comments

Comments
 (0)