mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
duplex: fix copy pasta
This commit is contained in:
@ -164,9 +164,9 @@ collect_values_cb (const SysprofCaptureFrame *frame,
|
||||
if (state->last_tx_val != G_MININT64)
|
||||
val = v64 - state->last_tx_val;
|
||||
|
||||
/* RX goes upward from half point */
|
||||
/* TX goes downward from half point */
|
||||
if (state->max_change != 0)
|
||||
y += (gdouble)val / (gdouble)state->max_change / 2.0;
|
||||
y -= (gdouble)val / (gdouble)state->max_change / 2.0;
|
||||
|
||||
state->last_tx_val = v64;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user