From 2427dab57b0c3f22c36522e90fb827cc572d6026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 22 Mar 2021 11:58:02 +0100 Subject: [PATCH] application: decrease SWD frequency for periodic clock --- application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.c b/application.c index 58ec825..6481dfe 100644 --- a/application.c +++ b/application.c @@ -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"); }