Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Raptor Engineering Public Development
dsview
Commits
dc3263c0
Commit
dc3263c0
authored
Dec 15, 2015
by
DreamSourceLab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile warnings
parent
6c676664
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
18 deletions
+10
-18
DSView/pv/dock/triggerdock.cpp
DSView/pv/dock/triggerdock.cpp
+0
-1
DSView/pv/toolbars/samplingbar.cpp
DSView/pv/toolbars/samplingbar.cpp
+0
-6
DSView/pv/view/dsosignal.cpp
DSView/pv/view/dsosignal.cpp
+9
-9
DSView/pv/view/header.cpp
DSView/pv/view/header.cpp
+0
-1
INSTALL
INSTALL
+1
-1
No files found.
DSView/pv/dock/triggerdock.cpp
View file @
dc3263c0
...
...
@@ -267,7 +267,6 @@ void TriggerDock::paintEvent(QPaintEvent *)
void
TriggerDock
::
simple_trigger
()
{
int
i
;
stages_label
->
setDisabled
(
true
);
stages_comboBox
->
setDisabled
(
true
);
_adv_tabWidget
->
setDisabled
(
true
);
...
...
DSView/pv/toolbars/samplingbar.cpp
View file @
dc3263c0
...
...
@@ -494,8 +494,6 @@ void SamplingBar::commit_sample_rate()
void
SamplingBar
::
on_samplecount_sel
(
int
index
)
{
uint64_t
sample_count
=
0
;
uint64_t
max_sample_count
=
0
;
bool
stream_mode
=
false
;
qDebug
()
<<
"index: "
<<
index
;
if
(
index
>=
0
)
...
...
@@ -520,10 +518,6 @@ void SamplingBar::on_samplecount_sel(int index)
void
SamplingBar
::
on_samplerate_sel
(
int
index
)
{
uint64_t
sample_rate
=
0
;
//uint64_t last_sample_rate = 0;
uint64_t
max_sample_count
=
0
;
uint64_t
sample_count
=
0
;
bool
stream_mode
=
false
;
if
(
index
>=
0
)
sample_rate
=
_sample_rate
.
itemData
(
...
...
DSView/pv/view/dsosignal.cpp
View file @
dc3263c0
...
...
@@ -426,15 +426,15 @@ bool DsoSignal::load_settings()
GVariant
*
gvar
;
// -- enable
bool
enable
;
gvar
=
_dev_inst
->
get_config
(
_probe
,
NULL
,
SR_CONF_EN_CH
);
if
(
gvar
!=
NULL
)
{
enable
=
g_variant_get_boolean
(
gvar
);
g_variant_unref
(
gvar
);
}
else
{
qDebug
()
<<
"ERROR: config_get SR_CONF_EN_CH failed."
;
return
false
;
}
//
bool enable;
//
gvar = _dev_inst->get_config(_probe, NULL, SR_CONF_EN_CH);
//
if (gvar != NULL) {
//
enable = g_variant_get_boolean(gvar);
//
g_variant_unref(gvar);
//
} else {
//
qDebug() << "ERROR: config_get SR_CONF_EN_CH failed.";
//
return false;
//
}
// -- hdiv
uint64_t
hdiv
;
...
...
DSView/pv/view/header.cpp
View file @
dc3263c0
...
...
@@ -140,7 +140,6 @@ void Header::mouseDoubleClickEvent(QMouseEvent *event)
const
vector
<
boost
::
shared_ptr
<
Trace
>
>
traces
(
_view
.
get_traces
());
int
action
;
if
(
event
->
button
()
&
Qt
::
LeftButton
)
{
_mouse_down_point
=
event
->
pos
();
...
...
INSTALL
View file @
dc3263c0
...
...
@@ -49,7 +49,7 @@ Arch:
Step2: Get the DSView source code
$ clone git://github.com/DreamSourceLab/DSView
$
git
clone git://github.com/DreamSourceLab/DSView
Step3: Building
...
...
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