From c4124c838904d0ca789f8229ab9e838bd0c00c43 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Mon, 12 Sep 2011 22:20:42 +0000 Subject: [PATCH] replaced uint8_t with unsigned char for consistency --- animations/fpmath_patterns.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/animations/fpmath_patterns.c b/animations/fpmath_patterns.c index bb5ca48..cfbec82 100644 --- a/animations/fpmath_patterns.c +++ b/animations/fpmath_patterns.c @@ -1,6 +1,5 @@ #include // Floating point math is dog slow on AVR, but I don't care. #include -#include #include "../config.h" #include "../pixel.h" #include "../util.h" @@ -68,7 +67,7 @@ static void fpmath_pattern(double const t_start, unsigned char const mask = shl_table[x % 8U]; unsigned char const x8 = x / 8u; unsigned char const color = fpPattern(x, y, t); - for (uint8_t p = 0; p < NUMPLANE; ++p) + for (unsigned char p = 0; p < NUMPLANE; ++p) { if (p <= (color - 1)) {