Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
b4ed1731
Commit
b4ed1731
authored
Feb 13, 2023
by
Antoine Kaufmann
Committed by
Antoine Kaufmann
Feb 13, 2023
Browse files
lib/simbricks/base: fix clang format violation
parent
880ae2db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/simbricks/base/if.c
lib/simbricks/base/if.c
+1
-1
No files found.
lib/simbricks/base/if.c
View file @
b4ed1731
...
@@ -154,7 +154,7 @@ int SimbricksBaseIfInit(struct SimbricksBaseIf *base_if,
...
@@ -154,7 +154,7 @@ int SimbricksBaseIfInit(struct SimbricksBaseIf *base_if,
struct
SimbricksBaseIfParams
*
params
)
{
struct
SimbricksBaseIfParams
*
params
)
{
/* ensure latency >= sync interval in synchronization case */
/* ensure latency >= sync interval in synchronization case */
bool
must_check_sync
=
params
->
sync_mode
==
kSimbricksBaseIfSyncOptional
||
bool
must_check_sync
=
params
->
sync_mode
==
kSimbricksBaseIfSyncOptional
||
params
->
sync_mode
==
kSimbricksBaseIfSyncRequired
;
params
->
sync_mode
==
kSimbricksBaseIfSyncRequired
;
if
(
must_check_sync
&&
params
->
link_latency
<
params
->
sync_interval
)
{
if
(
must_check_sync
&&
params
->
link_latency
<
params
->
sync_interval
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"SimbricksBaseIfInit: latency must be larger or equal to sync"
"SimbricksBaseIfInit: latency must be larger or equal to sync"
...
...
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