diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-09-26 13:43:04 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-09-26 13:43:04 +0200 |
commit | 68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88 (patch) | |
tree | e46090d5b49de94f3540e57e74c7b2a707d94989 /src | |
parent | 5de2e9ac86f4cbc4750cdf314891412ccc554985 (diff) | |
download | uGFX-68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88.tar.gz uGFX-68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88.tar.bz2 uGFX-68a7d2b75421c02d43c2482a0dfb7ea5fa2a1b88.zip |
compiler warning fix
Diffstat (limited to 'src')
-rw-r--r-- | src/gdisp.c | 2 |
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;
|