mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-22 05:30:44 +00:00
Fix: ClockDrift issues (from grnbrg) resolves oscar issue #101
This commit is contained in:
parent
453e16cfc6
commit
c4c0bf5596
@ -625,6 +625,10 @@ void RecalcMAP::updateTimes(PressureInfo & info) {
|
|||||||
|
|
||||||
void RecalcMAP:: setSelectionRange(gGraph* graph) {
|
void RecalcMAP:: setSelectionRange(gGraph* graph) {
|
||||||
graph->graphView()->GetXBounds(minTime, maxTime);
|
graph->graphView()->GetXBounds(minTime, maxTime);
|
||||||
|
// changes suggested by grnbrg
|
||||||
|
qint64 clockdrift = qint64(p_profile->cpap->clockDrift()) * 1000L;
|
||||||
|
minTime -= clockdrift;
|
||||||
|
maxTime -= clockdrift;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecalcMAP::run()
|
void RecalcMAP::run()
|
||||||
|
Loading…
Reference in New Issue
Block a user