Skip to content

Conversation

@clranc
Copy link

@clranc clranc commented Mar 25, 2018

Merging in updates for SPI hardware utilization for the esp8266 and corrected typo for esp baudrate to work properly

mfrc522.py Outdated
self._wreg(reg, self._rreg(reg) & (~mask))

def _tocard(self, cmd, send):
OK = 0

Choose a reason for hiding this comment

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

the diff looks strange because you used 4 spaces and the original code used tabs for indentation.

pep8 recommends 4 spaces, but this formatting change should not be introduced mixed into a functionality change, it makes review quite hard.

Copy link
Author

Choose a reason for hiding this comment

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

That slipped my mind, sorry about that. I have my vim setup to auto convert tabs. I'll change the indentation so you can read it easier.

Copy link
Author

Choose a reason for hiding this comment

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

Actually my most recent commit is using tabs instead of spaces. So if you set it to compare your master against all the commits made the changes are more legible.

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