Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
jfedor2 committed Jan 24, 2023
1 parent db4410e commit fafcd4e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions config-tool/set_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@
flat_zero_separated = [
int(item, 16) for entry in macro for item in entry + ["0x00"]
][:-1]
print("flat_zero_separated", flat_zero_separated)
for chunk in batched(flat_zero_separated, MACRO_ITEMS_IN_PACKET):
print("chunk", chunk)
data = struct.pack(
"<BBBBB6L",
REPORT_ID_CONFIG,
Expand All @@ -92,11 +90,6 @@
len(chunk),
*(chunk + (0,) * (MACRO_ITEMS_IN_PACKET - len(chunk)))
)
print(
macro_index,
len(chunk),
*(chunk + (0,) * (MACRO_ITEMS_IN_PACKET - len(chunk)))
)
device.send_feature_report(add_crc(data))

data = struct.pack(
Expand Down

0 comments on commit fafcd4e

Please sign in to comment.