From 6f9a8df7c05ac41704ac0db291a12c3f6ad6c622 Mon Sep 17 00:00:00 2001 From: Unai Sainz-Estebanez Date: Mon, 30 Oct 2023 12:18:24 +0100 Subject: [PATCH] Fix bug in neorv32_slink_available() function --- sw/lib/source/neorv32_slink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/lib/source/neorv32_slink.c b/sw/lib/source/neorv32_slink.c index 8e15e1e2c..83d2505bf 100644 --- a/sw/lib/source/neorv32_slink.c +++ b/sw/lib/source/neorv32_slink.c @@ -48,7 +48,7 @@ **************************************************************************/ int neorv32_slink_available(void) { - if (NEORV32_SYSINFO->SOC & (1 << SYSINFO_SOC_IO_SDI)) { + if (NEORV32_SYSINFO->SOC & (1 << SYSINFO_SOC_IO_SLINK)) { return 1; } else {