compiler warning fix

ugfx_release_2.6
Joel Bodenmann 2012-09-26 13:43:04 +02:00
parent 5de2e9ac86
commit 68a7d2b754
1 changed files with 1 additions and 1 deletions

View File

@ -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;