Commit cb11deac authored by zenox's avatar zenox

Apply suggestion to pycardium/modules/sys_leds.c

parent 039066d8
Pipeline #4093 passed with stages
in 1 minute and 2 seconds
...@@ -221,7 +221,7 @@ mp_leds_blink_rocket(mp_obj_t led_in, mp_obj_t value_in, mp_obj_t time_in) ...@@ -221,7 +221,7 @@ mp_leds_blink_rocket(mp_obj_t led_in, mp_obj_t value_in, mp_obj_t time_in)
int time = mp_obj_get_int(time_in); int time = mp_obj_get_int(time_in);
if (value > 31) { if (value > 31) {
mp_raise_ValueError("brightness must by < 32"); mp_raise_ValueError("brightness must be < 32");
} }
epic_leds_blink_rocket(led, value, time); epic_leds_blink_rocket(led, value, time);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment