application: decrease SWD frequency for periodic clock
This commit is contained in:
parent
61d3f84403
commit
2427dab57b
|
@ -1187,7 +1187,7 @@ void main(void)
|
|||
if (!swd_set_pins(GPIO_PORT(PB10), GPIO_PIN(PB10), GPIO_PORT(PB2), GPIO_PIN(PB2))) {
|
||||
puts("unknown pins\n");
|
||||
} else {
|
||||
swd_setup(100000); // setup SWD clock to 100 KHz, slow enough for any target and loose connection
|
||||
swd_setup(50000); // setup SWD clock to 50 KHz, slow enough for any target and loose connection
|
||||
puts("OK\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue