From 36ad6efc6f4c63cf3e31e17202df3393c37cb619 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 16 May 2021 16:47:34 +0200 Subject: [PATCH] cmsis_dap.h: Fix wrong leftover argument. --- src/platforms/hosted/cmsis_dap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/hosted/cmsis_dap.h b/src/platforms/hosted/cmsis_dap.h index 9e8054f..a060d58 100644 --- a/src/platforms/hosted/cmsis_dap.h +++ b/src/platforms/hosted/cmsis_dap.h @@ -44,7 +44,7 @@ uint32_t dap_swj_clock(uint32_t clock) {return 0;} void dap_exit_function(void) {}; void dap_adiv5_dp_defaults(ADIv5_DP_t *dp) {}; int cmsis_dap_jtagtap_init(jtag_proc_t *jtag_proc) {return -1;} -int dap_swdptap_init(swd_proc_t *swd_proc) {return -1;} +int dap_swdptap_init(ADIv5_DP_t *dp) {return -1;} int dap_jtag_dp_init(ADIv5_DP_t *dp) {return -1;} void dap_swd_configure(uint8_t cfg) {}; # pragma GCC diagnostic pop