From cf8a15820f7847e1983174c570d1c675b2dbe6c8 Mon Sep 17 00:00:00 2001 From: Akira Naru Takizawa Date: Tue, 24 Sep 2019 23:46:04 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ern2483lora.py=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rn2483lora.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rn2483lora.py b/rn2483lora.py index 92fb495..1e61aa6 100644 --- a/rn2483lora.py +++ b/rn2483lora.py @@ -91,7 +91,10 @@ if __name__ == '__main__': conf = ConfigParser() conf.read("lora.conf") - root = RN2483(conf.get("DEFAULT", "port")) + root = RN2483( + conf.get("DEFAULT", "port"), + conf.get("DEFAULT", "baud"), + ) def first_init() -> None: """Init our RN2483 after firmware startup."""