From 2b7d4c5ade63db5975b17d83c10f71db11b5fa33 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 28 Aug 2019 11:34:44 +0200 Subject: [PATCH] swlink: Remove redundant conditional usbart_init(). Noticed in #506. --- src/platforms/swlink/platform.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/platforms/swlink/platform.c b/src/platforms/swlink/platform.c index 42dfd0b..c6d7588 100644 --- a/src/platforms/swlink/platform.c +++ b/src/platforms/swlink/platform.c @@ -111,9 +111,6 @@ void platform_init(void) platform_timing_init(); cdcacm_init(); - /* Don't enable UART if we're being debugged. */ - if (!(SCS_DEMCR & SCS_DEMCR_TRCENA)) - usbuart_init(); usbuart_init(); }