-
Notifications
You must be signed in to change notification settings - Fork 41
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
base: master
Are you sure you want to change the base?
Conversation
mikhailk-2012
commented
Feb 16, 2022
Q | A |
---|---|
Bug fix? | yes |
New feature? | yes |
Doc update? | no |
BC breaks? | no |
Deprecations? | no |
Fixed tickets | #... |
@@ -136,7 +136,7 @@ class MFRC522 { | |||
///////////////////////////////////////////////////////////////////////////////////// | |||
// Functions for manipulating the MFRC522 | |||
///////////////////////////////////////////////////////////////////////////////////// | |||
bool PCD_Init(); | |||
bool PCD_Init(bool antenna_on = true); |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
Do you need more testing on this? |