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
47
Issues
47
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
002675af
Commit
002675af
authored
Sep 25, 2019
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HA: Set PDETECTION state
parent
a7ebba36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
l1e-hooks.c
proto-ext-l1sync/l1e-hooks.c
+3
-1
No files found.
proto-ext-l1sync/l1e-hooks.c
View file @
002675af
...
...
@@ -108,6 +108,8 @@ static int l1e_handle_signaling(struct pp_instance * ppi, void *buf, int len)
// Extension need to be re-enabled
pdstate_enable_extension
(
ppi
);
}
if
(
ppi
->
pdstate
==
PP_PDSTATE_PDETECTION
)
pdstate_set_state_pdetected
(
ppi
);
}
return
0
;
}
...
...
@@ -127,7 +129,7 @@ static int l1e_handle_resp(struct pp_instance *ppi)
/* This correction_field we received is already part of t4 */
if
(
ppi
->
extState
==
PP_EXSTATE_ACTIVE
)
{
wr
_servo_got_resp
(
ppi
);
l1e
_servo_got_resp
(
ppi
);
if
(
ppi
->
pdstate
==
PP_PDSTATE_PDETECTED
)
pdstate_set_state_pdetected
(
ppi
);
// Maintain state Protocol detected on MASTER side
}
...
...
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