From 8485478da561c73c7e4ce6c4c514e20943019902 Mon Sep 17 00:00:00 2001 From: David Madison Date: Sun, 19 Mar 2017 18:53:10 -0400 Subject: [PATCH] Updated adalight data types --- Arduino/LEDstream_FastLED/LEDstream_FastLED.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Arduino/LEDstream_FastLED/LEDstream_FastLED.ino b/Arduino/LEDstream_FastLED/LEDstream_FastLED.ino index 4959bee..3fb3db9 100644 --- a/Arduino/LEDstream_FastLED/LEDstream_FastLED.ino +++ b/Arduino/LEDstream_FastLED/LEDstream_FastLED.ino @@ -88,16 +88,16 @@ void adalight(){ mode = MODE_HEADER, hi, lo, chk, i; int16_t - bytesBuffered = 0, c; - int32_t - bytesRemaining; + uint16_t + bytesBuffered = 0; + uint32_t + bytesRemaining, + outPos; unsigned long lastByteTime, lastAckTime, t; - int32_t - outPos = 0; Serial.print("Ada\n"); // Send ACK string to host