Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
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
Software for White Rabbit PTP Core
Commits
34e4a5f4
Commit
34e4a5f4
authored
Sep 16, 2021
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev: silence some debug clutter
parent
b5882e0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ltc695x.c
dev/ltc695x.c
+4
-4
No files found.
dev/ltc695x.c
View file @
34e4a5f4
...
...
@@ -87,7 +87,7 @@ int ltc6953_configure_output( struct ltc695x_device *dev, int output, int divide
{
uint8_t
div_mp
,
div_md
;
dev_dbg
(
"ltc6953 out %d div=%d inv=%d
\n
"
,
output
,
divider
,
invert
);
//
dev_dbg("ltc6953 out %d div=%d inv=%d\n", output, divider, invert );
// Mx = (MPx + 1) • 2^MDx
// Note: For proper operation, MDx must be 0 if Mx is less than or equal to 32.
...
...
@@ -108,10 +108,10 @@ int ltc6953_configure_output( struct ltc695x_device *dev, int output, int divide
int
base
=
(
output
*
4
+
0xc
);
dev_dbg
(
"div_mp = %d, div_md = %d
\n
"
,
div_mp
,
div_md
);
//
dev_dbg("div_mp = %d, div_md = %d\n", div_mp, div_md);
dev_dbg
(
"ltc6953 r%02x = %02x
\n
"
,
base
+
0
,
or0
);
dev_dbg
(
"ltc6953 r%02x = %02x
\n
"
,
base
+
1
,
or1
);
//
dev_dbg("ltc6953 r%02x = %02x\n", base+0, or0 );
//
dev_dbg("ltc6953 r%02x = %02x\n", base+1, or1 );
ltc695x_write
(
dev
,
base
+
0
,
or0
);
ltc695x_write
(
dev
,
base
+
1
,
or1
);
...
...
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