Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
1acde111
Commit
1acde111
authored
Sep 25, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sm_io/*/acq/*: reduce some DEBUG levels to TRACE
parent
8977a0e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
sm_io_acq_exp.c
src/sm_io/modules/acq/sm_io_acq_exp.c
+9
-9
No files found.
src/sm_io/modules/acq/sm_io_acq_exp.c
View file @
1acde111
...
...
@@ -241,13 +241,15 @@ static int _acq_check_data_acquire (void *owner, void *args, void *ret)
err_get_acq_handler
,
-
ACQ_ERR
);
err
=
_acq_check_status
(
self
,
ACQ_CORE_COMPLETE_MASK
,
ACQ_CORE_COMPLETE_VALUE
);
ASSERT_TEST
(
err
==
-
ACQ_OK
,
"Acquisition has not completed yet"
,
err_acq_not_completed
);
DBE_DEBUG
(
DBG_SM_IO
|
DBG_LVL_TRACE
,
"[sm_io:acq] acq_check_data_acquire: "
"Acquisition is done
\n
"
);
if
(
err
!=
-
ACQ_OK
)
{
DBE_DEBUG
(
DBG_SM_IO
|
DBG_LVL_TRACE
,
"[sm_io:acq] acq_check_data_acquire: "
"Acquisition is not done
\n
"
);
}
else
{
DBE_DEBUG
(
DBG_SM_IO
|
DBG_LVL_TRACE
,
"[sm_io:acq] acq_check_data_acquire: "
"Acquisition is done
\n
"
);
}
err_acq_not_completed:
err_get_acq_handler:
return
err
;
}
...
...
@@ -264,8 +266,6 @@ static int _acq_check_status (SMIO_OWNER_TYPE *self, uint32_t status_mask,
"Status done = 0x%08x
\n
"
,
status_done
);
if
((
status_done
&
status_mask
)
!=
status_value
)
{
DBE_DEBUG
(
DBG_SM_IO
|
DBG_LVL_TRACE
,
"[sm_io:acq] acq_check_data_acquire: "
"Acquisition is not done
\n
"
);
err
=
-
ACQ_NOT_COMPLETED
;
goto
err_not_completed
;
}
...
...
@@ -377,7 +377,7 @@ static int _acq_get_data_block (void *owner, void *args, void *ret)
reply_size
=
BLOCK_SIZE
;
}
DBE_DEBUG
(
DBG_SM_IO
|
DBG_LVL_
INFO
,
"[sm_io:acq] get_data_block: "
DBE_DEBUG
(
DBG_SM_IO
|
DBG_LVL_
TRACE
,
"[sm_io:acq] get_data_block: "
"Reading block %u of channel %u with %u valid samples
\n
"
,
block_n
,
chan
,
reply_size
);
...
...
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