aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-09-26 13:43:04 +0200
committerJoel Bodenmann <joel@unormal.org>2012-09-26 13:43:04 +0200
commit68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88 (patch)
treee46090d5b49de94f3540e57e74c7b2a707d94989 /src
parent5de2e9ac86f4cbc4750cdf314891412ccc554985 (diff)
downloaduGFX-68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88.tar.gz
uGFX-68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88.tar.bz2
uGFX-68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88.zip
compiler warning fix
Diffstat (limited to 'src')
-rw-r--r--src/gdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdisp.c b/src/gdisp.c
index 156ffe48..b97260c1 100644
--- a/src/gdisp.c
+++ b/src/gdisp.c
@@ -505,7 +505,7 @@
* @notapi
*/
void _draw_arc(coord_t x, coord_t y, uint16_t start, uint16_t end, uint16_t radius, color_t color) {
- if (start >= 0 && start <= 180) {
+ if(start > 0 && start <= 180) {
float x_maxI = x + radius*cos(start*M_PI/180);
float x_minI;