Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes and improvement #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mikhailk-2012
Copy link
Contributor

Q A
Bug fix? yes
New feature? yes
Doc update? no
BC breaks? no
Deprecations? no
Fixed tickets #...

@Rotzbua Rotzbua self-requested a review March 8, 2022 22:42
@Rotzbua Rotzbua added the enhancement New feature or request label Mar 8, 2022
@@ -136,7 +136,7 @@ class MFRC522 {
/////////////////////////////////////////////////////////////////////////////////////
// Functions for manipulating the MFRC522
/////////////////////////////////////////////////////////////////////////////////////
bool PCD_Init();
bool PCD_Init(bool antenna_on = true);
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the use case for this?
Why not a simple PCD_AntennaOff(); after PCD_Init()?

@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1 */
#include "MFRC522v2.h"

// On 32-bit processors, software CRC computation is more efficient than
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you provide some numbers? For me it seems just additional code to maintain and source of error.

@FrightRisk
Copy link

Do you need more testing on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants