do not apply secure channel to factory reset
This commit is contained in:
parent
0e1c703ad8
commit
b33540df70
|
@ -425,7 +425,7 @@ func (cs *CommandSet) StoreData(typ uint8, data []byte) error {
|
|||
|
||||
func (cs *CommandSet) FactoryReset() error {
|
||||
cmd := NewCommandFactoryReset()
|
||||
resp, err := cs.sc.Send(cmd)
|
||||
resp, err := cs.c.Send(cmd)
|
||||
return cs.checkOK(resp, err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue