Skip to content

Commit

Permalink
[CFE-484] Use right DT register value to save settings from operation…
Browse files Browse the repository at this point in the history
… register to operation setting memory
  • Loading branch information
nv_vision_cis0_bast authored and deadprogram committed Aug 4, 2021
1 parent a0f1be1 commit 8650110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kd6rmx.go
Original file line number Diff line number Diff line change
@@ -327,7 +327,7 @@ func (cis Sensor) SaveSettings(preset int) error {
return errors.New("invalid preset for SaveSettings")
}

param := fmt.Sprintf("%02X", preset)
param := fmt.Sprintf("%02X", 0x80+preset)
result, err := cis.sendCommand("DT", param)
if err != nil {
return err

0 comments on commit 8650110

Please sign in to comment.