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
91e277a1
Commit
91e277a1
authored
Jan 06, 2022
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-wrpc: fix preprocessor conditions for including functions assign_ptp_param*
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
e2235eac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wrc_ptp_ppsi.c
arch-wrpc/wrc_ptp_ppsi.c
+3
-3
No files found.
arch-wrpc/wrc_ptp_ppsi.c
View file @
91e277a1
...
...
@@ -410,11 +410,11 @@ int wrc_ptp_is_abscal(void)
return
ptp_mode
==
WRC_MODE_ABSCAL
;
}
/* lm32'
S
compiler does not remove strings used in the function if
/* lm32'
s
compiler does not remove strings used in the function if
* the function is optimized out. So if the option is not used don't include
*
the nbot optimized out strings in
functions wrpc_ptp_set*. Ugly but can be
*
(the not optimized out strings in)
functions wrpc_ptp_set*. Ugly but can be
* repoved when LM32's support is dropped. */
#if
defined CONFIG_CMD_PTP_ADV && defined CONFIG_ARCH_LM32
#if
(defined CONFIG_CMD_PTP_ADV && defined CONFIG_ARCH_LM32) || defined CONFIG_ARCH_RISCV
static
int
assign_ptp_param
(
char
*
name
,
int
*
param
,
int
value
,
int
min
,
int
max
)
{
int
running
;
...
...
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