summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-20 18:46:01 -0700
committerGary E. Miller <gem@rellim.com>2019-04-20 18:46:01 -0700
commita421c9c58555e38d026aa670e9d26d976be81bf4 (patch)
tree4a1915393a582433aa8daf717f516c8fc61edb7c /ubxtool
parent5cad770a338b8991d485c350e1288c411beef76a (diff)
downloadgpsd-a421c9c58555e38d026aa670e9d26d976be81bf4.tar.gz
ubxtool: VALSET needs a layer. Set them all.
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubxtool b/ubxtool
index 5e226931..49c28a8c 100755
--- a/ubxtool
+++ b/ubxtool
@@ -3995,7 +3995,7 @@ class ubx(object):
# FIXME: does not handle value yet
m_data = bytearray(size)
m_data[0] = 0 # version, 0 = request, 1 = transaction
- m_data[1] = 0 # RAM layer, 1=RAM, 2=BBR, 4=Flash
+ m_data[1] = 0x7 # RAM layer, 1=RAM, 2=BBR, 4=Flash
m_data[4] = (key) & 0xff
m_data[5] = (key >> 8) & 0xff
m_data[6] = (key >> 16) & 0xff