Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
39fc1f24
Commit
39fc1f24
authored
May 05, 2023
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-sim: fix Werror when HA is not enabled
parent
363636f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sim-startup.c
arch-sim/sim-startup.c
+2
-0
No files found.
arch-sim/sim-startup.c
View file @
39fc1f24
...
@@ -124,6 +124,7 @@ int sim_set_global_DS(struct pp_instance *ppi)
...
@@ -124,6 +124,7 @@ int sim_set_global_DS(struct pp_instance *ppi)
return
0
;
return
0
;
}
}
#if CONFIG_HAS_EXT_L1SYNC
/* TODO: share with wrs-startup.c */
/* TODO: share with wrs-startup.c */
static
void
enable_asymmetryCorrection
(
struct
pp_instance
*
ppi
,
Boolean
enable
)
{
static
void
enable_asymmetryCorrection
(
struct
pp_instance
*
ppi
,
Boolean
enable
)
{
if
(
(
ppi
->
asymmetryCorrectionPortDS
.
enable
=
enable
)
==
TRUE
)
{
if
(
(
ppi
->
asymmetryCorrectionPortDS
.
enable
=
enable
)
==
TRUE
)
{
...
@@ -136,6 +137,7 @@ static void enable_asymmetryCorrection(struct pp_instance *ppi, Boolean enable )
...
@@ -136,6 +137,7 @@ static void enable_asymmetryCorrection(struct pp_instance *ppi, Boolean enable )
}
}
ppi
->
asymmetryCorrectionPortDS
.
constantAsymmetry
=
picos_to_interval
(
ppi
->
cfg
.
constantAsymmetry_ps
);
ppi
->
asymmetryCorrectionPortDS
.
constantAsymmetry
=
picos_to_interval
(
ppi
->
cfg
.
constantAsymmetry_ps
);
}
}
#endif
static
int
sim_ppi_init
(
struct
pp_instance
*
ppi
,
int
which_ppi
)
static
int
sim_ppi_init
(
struct
pp_instance
*
ppi
,
int
which_ppi
)
{
{
...
...
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