„rn2483lora.py“ ändern

This commit is contained in:
2019-09-24 23:46:04 +02:00
parent 9587a53506
commit cf8a15820f

View File

@@ -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."""