Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danb
firmware
Commits
5bbcfaa1
Commit
5bbcfaa1
authored
5 years ago
by
Daniel Busch
Browse files
Options
Downloads
Patches
Plain Diff
Fix ugly changes from code-style script
parent
616087a8
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3707
failed
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
epicardium/modules/ws2812.c
+2
-3
2 additions, 3 deletions
epicardium/modules/ws2812.c
with
2 additions
and
3 deletions
epicardium/modules/ws2812.c
+
2
−
3
View file @
5bbcfaa1
...
...
@@ -23,14 +23,13 @@ static inline __attribute__((always_inline)) void
epic_ws2812_delay_ticks
(
uint32_t
ticks
)
{
counter
=
ticks
;
while
(
--
counter
)
;
while
(
--
counter
);
}
static
inline
__attribute__
((
always_inline
))
void
epic_ws2812_transmit_bit
(
uint32_t
pin
,
uint8_t
bit
)
{
if
(
(
bit
)
!=
0
)
{
if
(
bit
!=
0
)
{
GPIO_OutSet
(
pin
);
epic_ws2812_delay_ticks
(
EPIC_WS2812_ONE_HIGH_TICKS
);
GPIO_OutClr
(
pin
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment