From afbfd4fe80e32fcd451c50620a6e42b8025b6182 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 10 Dec 2020 11:37:57 +0800 Subject: [PATCH] 1.1.21 for https://github.com/meshtastic/Meshtastic-device/issues/536 --- meshtastic/__main__.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index 1fc8d9e..ee57f80 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -155,6 +155,7 @@ def onConnected(interface): print("Setting device time/position") # can include lat/long/alt etc: latitude = 37.5, longitude = -122.1 interface.sendPosition(lat, lon, alt, time) + interface.writeConfig() if args.setowner: closeNow = True diff --git a/setup.py b/setup.py index 6555d95..60c7518 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open("README.md", "r") as fh: # This call to setup() does all the work setup( name="meshtastic", - version="1.1.20", + version="1.1.21", description="Python API & client shell for talking to Meshtastic devices", long_description=long_description, long_description_content_type="text/markdown",