Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 quick2wire/parts/mcp23x17.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
In = "in"
Out = "out"

# Bits within the IOCON regiseter
# Bits within the IOCON register
IOCON_INTPOL=1
IOCON_ODR=2
IOCON_MIRROR=6
Expand Down
4 changes: 2 additions & 2 deletions 4 quick2wire/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def add(self, source, eventmask=INPUT|ERROR, trigger=None, identifier=None):
the source
OUTPUT -- output can be written to the source
ERROR -- an error has occurred on the source
HANGUP -- a remote hangup has occured on the
HANGUP -- a remote hangup has occurred on the
source
PRIORITY_INPUT -- urgent out-of-band data is waiting
to be read from the source
Expand Down Expand Up @@ -130,7 +130,7 @@ def has_error(self):

@property
def has_hangup(self):
"""Returns whether a remote hangup has occured on the ready event source."""
"""Returns whether a remote hangup has occurred on the ready event source."""
return bool(self.events & HANGUP)

@property
Expand Down
2 changes: 1 addition & 1 deletion 2 quick2wire/spi_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# are in a different address space (and may be of different sizes in some
# cases, such as 32-bit i386 userspace over a 64-bit x86_64 kernel).
# Zero-initialize the structure, including currently unused fields, to
# accomodate potential future updates.
# accommodate potential future updates.
#
# SPI_IOC_MESSAGE gives userspace the equivalent of kernel spi_sync().
# Pass it an array of related transfers, they'll execute together.
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.