diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-02-04 11:42:54 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-02-04 11:42:54 -0200 |
commit | 574c3decb5213073c41107b89959746f5864b7c1 (patch) | |
tree | 1d7f7896fba0375e4f9b53c789b0472bbd6f5e65 /Meter.c | |
parent | 4a26ac05b09286af595035ff76004782298dd531 (diff) |
Move graph according to configured CRT_delay.
Diffstat (limited to 'Meter.c')
-rw-r--r-- | Meter.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ static void GraphMeterMode_draw(Meter* this, int x, int y, int w) { struct timeval now; gettimeofday(&now, NULL); if (!timercmp(&now, &(data->time), <)) { - struct timeval delay = { .tv_sec = (int)(GRAPH_DELAY/10), .tv_usec = (GRAPH_DELAY-((int)(GRAPH_DELAY/10)*10)) * 100000 }; + struct timeval delay = { .tv_sec = (int)(CRT_delay/10), .tv_usec = (CRT_delay-((int)(CRT_delay/10)*10)) * 100000 }; timeradd(&now, &delay, &(data->time)); for (int i = 0; i < nValues - 1; i++) |