Skip to content

fix: mprotocol should be initialized - #9

Merged
al3xwq merged 2 commits into
develop-2.4.2from
8-mprotocol-should-be-initialized
Sep 17, 2025
Merged

fix: mprotocol should be initialized#9
al3xwq merged 2 commits into
develop-2.4.2from
8-mprotocol-should-be-initialized

Conversation

@al3xwq

@al3xwq al3xwq commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/main/PcscReaderAdapter.cpp Outdated

if (!mTerminal->isConnected()) {
temporaryConnection = true;
mTerminal->openAndConnect("DIRECT");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would make more sense to use PcscReader::IsoProtocol::DIRECT.getValue() instead of "DIRECT"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@al3xwq
al3xwq force-pushed the 8-mprotocol-should-be-initialized branch from 4b9cfd4 to 5a35b6e Compare September 17, 2025 22:56
@al3xwq
al3xwq force-pushed the 8-mprotocol-should-be-initialized branch from 5a35b6e to f92ce09 Compare September 17, 2025 22:59
@sonarqubecloud

Copy link
Copy Markdown

@al3xwq
al3xwq merged commit 050d15d into develop-2.4.2 Sep 17, 2025
5 checks passed
@al3xwq
al3xwq deleted the 8-mprotocol-should-be-initialized branch September 17, 2025 23:02
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.

2 participants