Skip to content
Snippets Groups Projects
Commit 0f3e4779 authored by cnlohr's avatar cnlohr
Browse files

Add note about why the RST protection works.

parent ee129219
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,10 @@ keep_going:
break;
// disable NRST pin (turn it into a GPIO)
case 'd':
case 'd': // see "RSTMODE" in datasheet
wch_link_multicommands( devh, 2, 11, "\x81\x06\x08\x02\xf7\xff\xff\xff\xff\xff\xff", 4, "\x81\x0b\x01\x01" );
break;
case 'D':
case 'D': // see "RSTMODE" in datasheet
wch_link_multicommands( devh, 2, 11, "\x81\x06\x08\x02\xff\xff\xff\xff\xff\xff\xff", 4, "\x81\x0b\x01\x01" );
break;
// PROTECTION UNTESTED!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment