Skip to content

Conversation

@WarningImHack3r
Copy link
Contributor

@WarningImHack3r WarningImHack3r commented May 7, 2025

Fixes #204.

Bring back constants from #187 and revert the code in GetModemStatusBits to fix data gathering.

Ideally, this enum should get added to golang.org/x/sys/windows as @twpayne did for other constants.

@twpayne
Copy link
Contributor

twpayne commented May 8, 2025

LGTM, thank you!

Copy link
Member

@cmaglie cmaglie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch!

I've just moved the constants inside the method GetModemStatusBit to make them private.

@cmaglie cmaglie merged commit f12391c into bugst:master May 19, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possibly incorrect masks for modem input status bits on Windows

3 participants