dwire-debug icon indicating copy to clipboard operation
dwire-debug copied to clipboard

Redundant commands in ProgramPage

Open ccrause opened this issue 6 years ago • 0 comments

https://github.com/dcwbrown/dwire-debug/blob/d6af573913dd030b492ef3ae7d56bfd1f9226b65/src/commands/NonVolatile.c#L141

There is no need for DwSend(Bytes(0x66)) before calling DwSetRegs since DwSetRegs sends the appropriate setup command.

Similarly DwSend(Bytes(0x64)) on line 144 is also redundant since the following DwOut call sends this via DwInst.

ccrause avatar Apr 22 '18 13:04 ccrause