Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
zenox
firmware
Commits
cb11deac
Commit
cb11deac
authored
Oct 04, 2019
by
zenox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply suggestion to pycardium/modules/sys_leds.c
parent
039066d8
Pipeline
#4093
passed with stages
in 1 minute and 2 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pycardium/modules/sys_leds.c
pycardium/modules/sys_leds.c
+1
-1
No files found.
pycardium/modules/sys_leds.c
View file @
cb11deac
...
@@ -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 b
y
< 32"
);
mp_raise_ValueError
(
"brightness must b
e
< 32"
);
}
}
epic_leds_blink_rocket
(
led
,
value
,
time
);
epic_leds_blink_rocket
(
led
,
value
,
time
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment