Skip to content

Commit 9cfb10d

Browse files
authored
Merge pull request #225 from semuconsulting/RC-1.5.21
fix datalog issue Fixes #224
2 parents 57ab6df + 786edba commit 9cfb10d

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

RELEASE_NOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# PyGPSClient Release Notes
22

3+
### RELEASE 1.5.21
4+
5+
FIXES:
6+
7+
1. Fix issue with datalogging #224.
8+
39
### RELEASE 1.5.20
410

511
FIXES:

src/pygpsclient/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
:license: BSD 3-Clause
99
"""
1010

11-
__version__ = "1.5.20"
11+
__version__ = "1.5.21"

src/pygpsclient/chart_frame.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ def __init__(self, app, *args, **kwargs):
122122
self._xoff = 20 # chart X offset for labels
123123
self._yoff = 20 # chart Y offset for labels
124124
self._chart_data = {}
125-
self._num_chans = self.chartsettings.get("numchn_n")
125+
self._num_chans = self.chartsettings.get(
126+
"numchn_n", self.chartsettings.get("numchn", 4)
127+
) # cater for typo in earlier chartsettings
126128
if self._num_chans % 2: # no channels must be even
127129
self._num_chans += 1
128130
self._plotcols = PLOTCOLS

src/pygpsclient/settings_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def _on_update_logformat(self, var, index, mode):
780780
Action on updating log format.
781781
"""
782782

783-
self.__app.configuration.set("logformat_s", self._prot_ubx.get())
783+
self.__app.configuration.set("logformat_s", self._logformat.get())
784784

785785
def _on_ubx_config(self, *args, **kwargs):
786786
"""

0 commit comments

Comments
 (0)