Skip to content

Commit e13f959

Browse files
MajorBreakfastMakuna
authored andcommitted
Fix "type defaults to 'int'" warning (Makuna#210)
1 parent f9c404d commit e13f959

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/internal/NeoPixelAvr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void send_pixels_8mhz_800_PortD(uint8_t* pixels, size_t sizePixels, uint8_t pinM
6464
volatile uint8_t lo; // PORT w/output bit set low
6565

6666
volatile uint8_t n1;
67-
volatile n2 = 0; // First, next bits out
67+
volatile uint8_t n2 = 0; // First, next bits out
6868

6969
// Squeezing an 800 KHz stream out of an 8 MHz chip requires code
7070
// specific to each PORT register. At present this is only written
@@ -189,7 +189,7 @@ void send_pixels_8mhz_800_PortB(uint8_t* pixels, size_t sizePixels, uint8_t pinM
189189
volatile uint8_t lo; // PORT w/output bit set low
190190

191191
volatile uint8_t n1;
192-
volatile n2 = 0; // First, next bits out
192+
volatile uint8_t n2 = 0; // First, next bits out
193193

194194
// Same as above, just switched to PORTB and stripped of comments.
195195
hi = PORTB | pinMask;
@@ -645,4 +645,4 @@ void send_pixels_16mhz_400(uint8_t* pixels, size_t sizePixels, volatile uint8_t*
645645
#error "CPU SPEED NOT SUPPORTED"
646646
#endif
647647

648-
#endif
648+
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy