Fix "type defaults to 'int'" warning (#210)

This commit is contained in:
Josef Brandl
2018-06-17 19:53:08 +02:00
committed by Michael Miller
parent f9c404de19
commit e13f9599c8

View File

@@ -64,7 +64,7 @@ void send_pixels_8mhz_800_PortD(uint8_t* pixels, size_t sizePixels, uint8_t pinM
volatile uint8_t lo; // PORT w/output bit set low
volatile uint8_t n1;
volatile n2 = 0; // First, next bits out
volatile uint8_t n2 = 0; // First, next bits out
// Squeezing an 800 KHz stream out of an 8 MHz chip requires code
// 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
volatile uint8_t lo; // PORT w/output bit set low
volatile uint8_t n1;
volatile n2 = 0; // First, next bits out
volatile uint8_t n2 = 0; // First, next bits out
// Same as above, just switched to PORTB and stripped of comments.
hi = PORTB | pinMask;
@@ -645,4 +645,4 @@ void send_pixels_16mhz_400(uint8_t* pixels, size_t sizePixels, volatile uint8_t*
#error "CPU SPEED NOT SUPPORTED"
#endif
#endif
#endif