Skip to content

Commit

Permalink
Update waveshare.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra authored Jan 17, 2024
1 parent 7c3173c commit 8058198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/drivers/waveshare.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def convert_waveshare_source(variant_key: str) -> WaveshareVariant:
variant.init_returns_zero = "(): UBYTE" in line
if proc_name.lower() == f"{variant.prefix}_Clear".lower() and variant.clear_function is None:
variant.clear_function = proc_name
if "UBYTE color" in line:
if "color: UBYTE" in line:
variant.clear_args = "1"
if proc_name.lower() == f"{variant.prefix}_4Gray_Clear".lower():
variant.clear_function = proc_name
Expand Down

0 comments on commit 8058198

Please sign in to comment.