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
coon
firmware
Commits
dba57955
Commit
dba57955
authored
5 years ago
by
dx
Browse files
Options
Downloads
Patches
Plain Diff
style(config): clang-format wants these lines to be joined now i guess
parent
bd490819
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
epicardium/modules/config.c
+4
-12
4 additions, 12 deletions
epicardium/modules/config.c
with
4 additions
and
12 deletions
epicardium/modules/config.c
+
4
−
12
View file @
dba57955
...
...
@@ -316,23 +316,15 @@ void load_config(void)
if
(
!
seek_back
)
{
break
;
}
int
rc
=
epic_file_seek
(
fd
,
seek_back
,
SEEK_CUR
);
int
rc
=
epic_file_seek
(
fd
,
seek_back
,
SEEK_CUR
);
if
(
rc
<
0
)
{
LOG_ERR
(
"card10.cfg"
,
"seek failed, aborting"
);
LOG_ERR
(
"card10.cfg"
,
"seek failed, aborting"
);
return
;
}
char
newline
;
rc
=
epic_file_read
(
fd
,
&
newline
,
1
);
rc
=
epic_file_read
(
fd
,
&
newline
,
1
);
if
(
rc
<
0
||
newline
!=
'\n'
)
{
LOG_ERR
(
"card10.cfg"
,
"seek failed, aborting"
);
LOG_ERR
(
"card10.cfg"
,
"seek failed, aborting"
);
LOG_DEBUG
(
"card10.cfg"
,
"seek failed at read-back of newline: rc: %d read: %d"
,
...
...
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