graphDrawDot() fix

ugfx_release_2.6
Joel Bodenmann 2012-10-24 17:40:35 +02:00
parent 03ccc151c3
commit e121b31a70
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ void graphDrawFourQuadrants(Graph *g) {
}
void graphDrawDot(coord_t x, coord_t y, uint16_t radius, color_t color) {
if(radius == 1)
if(radius == 0)
gdispDrawPixel(origin.x + x, origin.y + y, color);
else
gdispFillCircle(origin.x + x, origin.y + y, radius, color);