Skip to content

Commit

Permalink
Fix bug in neorv32_slink_available() function (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Oct 30, 2023
2 parents 271ff66 + 6f9a8df commit 2d3c44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/lib/source/neorv32_slink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2d3c44c

Please sign in to comment.