We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a272dc commit 3ea1b0fCopy full SHA for 3ea1b0f
examples/PDQgraphicstest/PDQgraphicstest.ino
@@ -568,7 +568,7 @@ int32_t testCircles(uint8_t radius)
568
569
int32_t testFillArcs()
570
{
571
- int16_t i, r = 360 / cn;
+ int16_t i, r = (360 > cn) ? (360 / cn) : 1;
572
uint32_t start = micros_start();
573
574
for (i = 6; i < cn; i += 6)
@@ -581,7 +581,7 @@ int32_t testFillArcs()
581
582
int32_t testArcs()
583
584
585
586
587
0 commit comments