Skip to content

Commit 0ad935f

Browse files
committed
remove comment references to non-existent variable.
1 parent 0f450b0 commit 0ad935f

File tree

1 file changed

+3
-1
lines changed
  • USB_SNES_Gamepad/CircuitPython_USB_Host

1 file changed

+3
-1
lines changed

USB_SNES_Gamepad/CircuitPython_USB_Host/code.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,12 @@ def print_array(arr, max_index=None, fmt="hex"):
9999

100100
def reports_equal(report_a, report_b, check_length=None):
101101
"""
102-
Test if two reports are equal. Accounting for any IGNORE_INDEXES
102+
Test if two reports are equal. If check_length is provided then
103+
check for equality in only the first check_length number of bytes.
103104
104105
:param report_a: First report data
105106
:param report_b: Second report data
107+
:param check_length: How many bytes to check
106108
:return: True if the reports are equal, otherwise False.
107109
"""
108110
if (

0 commit comments

Comments
 (0)