Skip to content

Commit 4fbfb01

Browse files
authored
Update waveshare.py
1 parent 8058198 commit 4fbfb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/drivers/waveshare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def convert_waveshare_source(variant_key: str) -> WaveshareVariant:
145145
if proc_name.lower() == f"{variant.prefix}_Clear".lower() and variant.clear_function is None:
146146
variant.clear_function = proc_name
147147
if "color: UBYTE" in line:
148-
variant.clear_args = "1"
148+
variant.clear_args = "1.uint8"
149149
if proc_name.lower() == f"{variant.prefix}_4Gray_Clear".lower():
150150
variant.clear_function = proc_name
151151
if proc_name.lower() == f"{variant.prefix}_Sleep".lower():

0 commit comments

Comments
 (0)