Browse Source

RGBMatrix: nonessential change to kick Actions

crypto-aes
Jeff Epler 2 years ago
parent
commit
898c09c35e
  1. 2
      shared-bindings/rgbmatrix/RGBMatrix.c

2
shared-bindings/rgbmatrix/RGBMatrix.c

@ -284,7 +284,7 @@ STATIC mp_obj_t rgbmatrix_rgbmatrix_set_brightness(mp_obj_t self_in, mp_obj_t va
if (brightness < 0.0f || brightness > 1.0f) {
mp_raise_ValueError(translate("Brightness must be 0-1.0"));
}
common_hal_rgbmatrix_rgbmatrix_set_paused(self_in, brightness <= 0);
common_hal_rgbmatrix_rgbmatrix_set_paused(self, brightness <= 0);
return mp_const_none;
}

Loading…
Cancel
Save