projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed signal ends to cover screen
[pulseview.git]
/
logicdatasnapshot.cpp
diff --git
a/logicdatasnapshot.cpp
b/logicdatasnapshot.cpp
index 032d9c81e464f2dd3311fd31a076a83073aa34a1..e29a866e5fea444b735e5219835c1278b746bef5 100644
(file)
--- a/
logicdatasnapshot.cpp
+++ b/
logicdatasnapshot.cpp
@@
-65,7
+65,7
@@
void LogicDataSnapshot::get_subsampled_edges(
bool last_sample = get_sample(start) & sig_mask;
edges.push_back(pair<int64_t, bool>(start, last_sample));
bool last_sample = get_sample(start) & sig_mask;
edges.push_back(pair<int64_t, bool>(start, last_sample));
- for(int64_t i = start + 1; i < end
- 1
; i++)
+ for(int64_t i = start + 1; i < end; i++)
{
const bool sample = get_sample(i) & sig_mask;
{
const bool sample = get_sample(i) & sig_mask;
@@
-89,6
+89,6
@@
void LogicDataSnapshot::get_subsampled_edges(
}
// Add the final state
}
// Add the final state
- edges.push_back(pair<int64_t, bool>(end
- 1
,
- get_sample(end
- 1
) & sig_mask));
+ edges.push_back(pair<int64_t, bool>(end,
+ get_sample(end) & sig_mask));
}
}