8000 Update shared-bindings/rgbmatrix/RGBMatrix.c · joric/circuitpython@e477d27 · GitHub
[go: up one dir, main page]

Skip to content

Commit e477d27

Browse files
jeplertannewt
andauthored
Update shared-bindings/rgbmatrix/RGBMatrix.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
1 parent e4b9c16 commit e477d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/rgbmatrix/RGBMatrix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ STATIC mp_obj_t rgbmatrix_rgbmatrix_make_new(const mp_obj_type_t *type, size_t n
214214
}
215215
}
216216

217-
if (args[ARG_width] <= 0) {
217+
if (args[ARG_width].u_int <= 0) {
218218
mp_raise_ValueError(translate("width must be greater than zero"));
219219
}
220220

0 commit comments

Comments
 (0)
0