From 54f6e730b5e70d6fc03ef57d8eddb7b2831c3a58 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Thu, 12 Nov 2020 17:57:41 +0000 Subject: [PATCH] Stop ESP32 warning --- examples/DMA test/SpriteRotatingCube/SpriteRotatingCube.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/DMA test/SpriteRotatingCube/SpriteRotatingCube.ino b/examples/DMA test/SpriteRotatingCube/SpriteRotatingCube.ino index 30f46b3..f87cabd 100644 --- a/examples/DMA test/SpriteRotatingCube/SpriteRotatingCube.ino +++ b/examples/DMA test/SpriteRotatingCube/SpriteRotatingCube.ino @@ -353,7 +353,7 @@ void drawCube() uint32_t computePrimeNumbers(int32_t n) { if (n<2) return 1; - int32_t i, fact, j, p; + int32_t i, fact, j, p = 0; //Serial.print("\nPrime Numbers are: \n"); for (i = 1; i <= n; i++)