From 609af8f9a8676411e8cd9a591bc2584f5c7b4f8b Mon Sep 17 00:00:00 2001 From: Tectu Date: Sat, 23 Jun 2012 21:34:24 +0200 Subject: some fix, just esthetical --- graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.c b/graph.c index d90eaa95..b9ce8739 100644 --- a/graph.c +++ b/graph.c @@ -30,7 +30,7 @@ void graphDrawSystem(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_ lcdDrawLine(x0, y1, x0-5, y1+5, color); lcdDrawLine(x0, y1, x0+5, y1+5, color); for(i=1; i<(length / grid_Y); i++) { - off = x0 + i * grid_Y; + off = y0 + i * grid_Y; lcdDrawLine(x0-MARKSIZE, off, x0+MARKSIZE, off, color); } } -- cgit v1.2.3