diff options
author | Fred Wright <fw@fwright.net> | 2019-03-27 15:34:38 -0700 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2019-03-27 20:26:53 -0700 |
commit | 4b80866539305242d6fe96bf385efd30d95da6a7 (patch) | |
tree | c4426119ed2c636000511b39dc85957ff1c80945 /gpsdctl.c | |
parent | f44ab4824d2a2cb6580d1eb8c91f3ff821e6cb37 (diff) | |
download | gpsd-4b80866539305242d6fe96bf385efd30d95da6a7.tar.gz |
ubxtool: Fixes SAVE/RESET/CFG-CFG bugs.
The masks for SAVE and RESET were not defined as intended by the
comments, including having one of the bits in the wrong byte.
Two conditionals (only one actually effective) were checking the
value of 'type' rather than the 'save_clear' argument, probably
due to an incomplete rename. This rendered SAVE inoperative,
and due to the implied load, it had the effect of resetting the
parameters to their saved values (usually the defaults, due to
the broken SAVE).
The decode for CFG-CFG had similar bugs related to bit positions.
TESTED:
Tested on LEA-6S, LEA-M8F, LEA-M8T, and LEA-M8N
Diffstat (limited to 'gpsdctl.c')
0 files changed, 0 insertions, 0 deletions