Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
ecd1f8dd
Commit
ecd1f8dd
authored
Sep 04, 2019
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[HAL] bugfix: end-of-table state value should be -1, not 1
parent
b57623a7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
hal_port_fsm.c
userspace/wrsw_hal/hal_port_fsm.c
+1
-1
hal_port_fsm_pll.c
userspace/wrsw_hal/hal_port_fsm_pll.c
+1
-1
hal_port_fsm_rx.c
userspace/wrsw_hal/hal_port_fsm_rx.c
+1
-1
hal_port_fsm_tx.c
userspace/wrsw_hal/hal_port_fsm_tx.c
+1
-1
No files found.
userspace/wrsw_hal/hal_port_fsm.c
View file @
ecd1f8dd
...
...
@@ -81,7 +81,7 @@ static halPortStateTable_t _fsmStateTable[] =
.
stateName
=
"LINK_UP"
,
FSM_SET_FCT_NAME
(
_hal_port_state_link_up
)
},
{
.
state
=
1
}
{
.
state
=-
1
}
};
static
halPortEventTable_t
_fsmEvtTable
[]
=
{
...
...
userspace/wrsw_hal/hal_port_fsm_pll.c
View file @
ecd1f8dd
...
...
@@ -46,7 +46,7 @@ static halPortStateTable_t _fsmStateTable[] =
.
stateName
=
"LOCKED"
,
FSM_SET_FCT_NAME
(
_hal_port_pll_state_locked
)
},
{
.
state
=
1
}
{
.
state
=-
1
}
};
static
halPortEventTable_t
_fsmEvtTable
[]
=
{
...
...
userspace/wrsw_hal/hal_port_fsm_rx.c
View file @
ecd1f8dd
...
...
@@ -71,7 +71,7 @@ static halPortStateTable_t _fsmStateTable[] =
.
stateName
=
"DONE"
,
FSM_SET_FCT_NAME
(
_hal_port_rx_setup_state_done
)
},
{
.
state
=
1
}
{
.
state
=-
1
}
};
static
halPortEventTable_t
_fsmEvtTable
[]
=
{
...
...
userspace/wrsw_hal/hal_port_fsm_tx.c
View file @
ecd1f8dd
...
...
@@ -67,7 +67,7 @@ static halPortStateTable_t _fsmStateTable[] =
.
stateName
=
"DONE"
,
FSM_SET_FCT_NAME
(
_hal_port_tx_setup_state_done
)
},
{
.
state
=
1
}
{
.
state
=-
1
}
};
static
halPortEventTable_t
_fsmEvtTable
[]
=
{
...
...
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