diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-26 18:18:45 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-26 18:18:45 -0700 |
commit | 043fafb9f1312a4be8fec0f63a07777c86524a01 (patch) | |
tree | 9b36999220a9018580c182ca83a853e3e231c130 /ubxtool | |
parent | 1bdb9bf4f23b2c91b9635361e091a99d79e80e5e (diff) | |
download | gpsd-043fafb9f1312a4be8fec0f63a07777c86524a01.tar.gz |
ubxtool: Have -x delete both BBR and FLASH layers.
No way to delete from RAM layer...
Diffstat (limited to 'ubxtool')
-rwxr-xr-x | ubxtool | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3958,7 +3958,9 @@ class ubx(object): """UBX-CFG-VALDEL, delete config items by key""" m_data = bytearray(4) m_data[0] = 0 # version, 0 = transactionless, 1 = transaction - m_data[1] = 2 # 2 = BBR, 4 = flash + m_data[1] = 6 # 2 = BBR, 4 = flash + # can not delete RAM layer! + # so options stay set until reset! for key in keys: k_data = bytearray(4) k_data[0] = (key) & 0xff |