Skip to content

Commit

Permalink
Merge pull request #230 from WildernessLabs/bug/error-message
Browse files Browse the repository at this point in the history
Fix incorrect/misleading error message
  • Loading branch information
jorgedevs committed May 19, 2024
2 parents 9bcc04f + 5fb3713 commit d9a1f4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static IDigitalInterruptPort CreateDigitalInterruptPort(this IPin pin, In
return controller.CreateDigitalInterruptPort(pin, interruptMode, resistorMode, debounceDuration, glitchDuration);
}

throw new ArgumentException("Pin is not digital input capable");
throw new ArgumentException("Pin is not interrupt capable");
}

/// <summary>
Expand Down

0 comments on commit d9a1f4c

Please sign in to comment.