From 08d45268e2d30a29b7f96efd127e079b2e359327 Mon Sep 17 00:00:00 2001 From: Erik Hess Date: Fri, 27 Nov 2020 19:15:23 -0600 Subject: [PATCH] uart fixes (argument fix) --- adafruit_pm25/uart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_pm25/uart.py b/adafruit_pm25/uart.py index 8d97404..77238d3 100644 --- a/adafruit_pm25/uart.py +++ b/adafruit_pm25/uart.py @@ -68,7 +68,7 @@ class PM25_UART(PM25): A driver for the PM2.5 Air quality sensor over UART """ - def __init__(self, uart, set_pin=None, reset_pin=None, mode="passive"): + def __init__(self, uart, reset_pin=None, set_pin=None, mode="passive"): self._uart = uart self._reset_pin = reset_pin self._set_pin = set_pin