Skip to content

Commit d67b594

Browse files
committed
fix About Update homebrew check
1 parent 27ba8f5 commit d67b594

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
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.16
4+
5+
FIXES:
6+
7+
1. "Check for Updates" function in Menu..About panel updated to cater for potential critical segmentation errors caused by some Homebrew Python installations when executing shell subprocesses.
8+
39
### RELEASE 1.5.15
410

511
ENHANCEMENTS:

pygpsclient.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
"Force COLD Reset (!!! Will require reconnection !!!) CONFIRM, CFG, CFG-RST, ffff0000, 1",
185185
"Stop GNSS, CFG, CFG-RST, 00000800, 1",
186186
"Start GNSS, CFG, CFG-RST, 00000900, 1",
187+
"Save Config to BBR, CFG, CFG-CFG, 000000001f1f00000000000001, 1",
187188
"Set NMEA High Precision Mode, CFG, CFG-VALSET, 000100000600931001, 1",
188189
"ZED-X20P Enable UBX & Disable NMEA, CFG, CFG-VALSET, 000100001600912000, 1, CFG, CFG-VALSET, 000100000700912001, 1, CFG, CFG-VALSET, 000100003900912001, 1, CFG, CFG-VALSET, 000100001600912001, 1, CFG, CFG-VALSET, 00010000c500912000, 1, CFG, CFG-VALSET, 00010000ca00912000, 1, CFG, CFG-VALSET, 00010000c000912000, 1, CFG, CFG-VALSET, 00010000bb00912000, 1, CFG, CFG-VALSET, 00010000ac00912000, 1, CFG, CFG-VALSET, 00010000b100912000, 1, CFG, CFG-VALSET, 000100003400912001, 1",
189190
"ZED-X20P Apply GPS L5 Health Status Fix, CFG, CFG-VALSET, 000100000100321001, 1",

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.15"
11+
__version__ = "1.5.16"

src/pygpsclient/about_dialog.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _on_github(self, *args, **kwargs): # pylint: disable=unused-argument
192192
Close dialog and go to GitHub.
193193
"""
194194

195-
if brew_installed:
195+
if brew_installed():
196196
self._brew_warning()
197197
return
198198

@@ -204,7 +204,7 @@ def _on_sponsor(self, *args, **kwargs): # pylint: disable=unused-argument
204204
Close dialog and go to Sponsor website.
205205
"""
206206

207-
if brew_installed:
207+
if brew_installed():
208208
self._brew_warning()
209209
return
210210

@@ -216,7 +216,7 @@ def _on_license(self, *args, **kwargs): # pylint: disable=unused-argument
216216
Close dialog and go to GitHub LICENSE file.
217217
"""
218218

219-
if brew_installed:
219+
if brew_installed():
220220
self._brew_warning()
221221
return
222222

@@ -254,7 +254,7 @@ def _do_update(self, *args, **kwargs): # pylint: disable=unused-argument
254254
Run python update.
255255
"""
256256

257-
if brew_installed:
257+
if brew_installed():
258258
self._brew_warning()
259259
return
260260

src/pygpsclient/ubx_preset_frame.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,9 @@ def _do_store_config(self) -> bool:
584584
Store current configuration in persistent storage
585585
but display confirmation message box first.
586586
587+
NB: Most u-blox receivers support BBR but not all
588+
support Flash or EEPROM.
589+
587590
:return: boolean signifying whether OK was pressed
588591
:rtype: bool
589592
"""
@@ -597,8 +600,8 @@ def _do_store_config(self) -> bool:
597600
saveMask=b"\x1f\x1f\x00\x00",
598601
# loadMask=b"\x01\x00\x00\x00",
599602
devBBR=1,
600-
devFlash=1,
601-
devEEPROM=1,
603+
devFlash=0,
604+
devEEPROM=0,
602605
)
603606
self.__container.send_command(msg)
604607
return CONFIRMED

0 commit comments

Comments
 (0)