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
84
Issues
84
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
225a0169
Commit
225a0169
authored
Sep 16, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/libwr: fix indent of i2c_buses array
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
158c214d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
20 deletions
+24
-20
i2c_sfp.c
userspace/libwr/i2c_sfp.c
+24
-20
No files found.
userspace/libwr/i2c_sfp.c
View file @
225a0169
...
...
@@ -169,26 +169,30 @@ struct i2c_bitbang wr_link1_reg = {
struct
i2c_bus
i2c_buses
[]
=
{
{
.
name
=
"fpga_bus0"
,
.
type
=
I2C_BUS_TYPE_FPGA_REG
,
.
type_specific
=
&
fpga_bus0_reg
,
},
{
.
name
=
"fpga_bus1"
,
.
type
=
I2C_BUS_TYPE_FPGA_REG
,
.
type_specific
=
&
fpga_bus1_reg
,
},
{
.
name
=
"wr_mux_bus"
,
.
type
=
I2C_TYPE_BITBANG
,
.
type_specific
=
&
wr_mux_bus_reg
,
},
{
.
name
=
"wr_sfp0_link0"
,
.
type
=
I2C_TYPE_BITBANG
,
.
type_specific
=
&
wr_link0_reg
,
},
{
.
name
=
"wr_sfp0_link1"
,
.
type
=
I2C_TYPE_BITBANG
,
.
type_specific
=
&
wr_link1_reg
,
},
.
name
=
"fpga_bus0"
,
.
type
=
I2C_BUS_TYPE_FPGA_REG
,
.
type_specific
=
&
fpga_bus0_reg
,
},
{
.
name
=
"fpga_bus1"
,
.
type
=
I2C_BUS_TYPE_FPGA_REG
,
.
type_specific
=
&
fpga_bus1_reg
,
},
{
.
name
=
"wr_mux_bus"
,
.
type
=
I2C_TYPE_BITBANG
,
.
type_specific
=
&
wr_mux_bus_reg
,
},
{
.
name
=
"wr_sfp0_link0"
,
.
type
=
I2C_TYPE_BITBANG
,
.
type_specific
=
&
wr_link0_reg
,
},
{
.
name
=
"wr_sfp0_link1"
,
.
type
=
I2C_TYPE_BITBANG
,
.
type_specific
=
&
wr_link1_reg
,
},
};
int
shw_sfp_buses_init
(
void
)
...
...
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