aboutsummaryrefslogtreecommitdiffstats
path: root/graph.c
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-23 21:34:24 +0200
committerTectu <joel@unormal.org>2012-06-23 21:34:24 +0200
commit609af8f9a8676411e8cd9a591bc2584f5c7b4f8b (patch)
tree7980ea408c6ffa207df8e5dafd67aea8326b5fd1 /graph.c
parent17feb4361e02ceefb3266063ceb04e714895ddb6 (diff)
downloaduGFX-609af8f9a8676411e8cd9a591bc2584f5c7b4f8b.tar.gz
uGFX-609af8f9a8676411e8cd9a591bc2584f5c7b4f8b.tar.bz2
uGFX-609af8f9a8676411e8cd9a591bc2584f5c7b4f8b.zip
some fix, just esthetical
Diffstat (limited to 'graph.c')
-rw-r--r--graph.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}