Skip to content

Commit 1d96d42

Browse files
committed
fix: UART passthrough
1 parent e1066ea commit 1d96d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pslab/sciencelab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def enable_uart_passthrough(self, baudrate: int):
284284
baudrate : int
285285
Baudrate of the UART2 bus.
286286
"""
287-
if self.firmware.major < 3:
287+
if self.device.firmware.major < 3:
288288
self._uart_passthrough_legacy(baudrate)
289289
else:
290290
self._uart_passthrough(baudrate)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy