Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Guyer <sam.guyer@gmail.com>2020-11-02 19:46:41 +0300
committerGitHub <noreply@github.com>2020-11-02 19:46:41 +0300
commit2fa8bb41c34eb3fb44786c85bbc6ebd7e031a777 (patch)
tree16eb2de9dd9dd2ce6ae784fe38f3651da13ecffb /src/platforms/esp/32/clockless_rmt_esp32.h
parentb2b242aba88b033343bfe2e3418fd84a7937851e (diff)
parent0a96b861901f45a2a241556007e9f1f4e7b12404 (diff)
Merge pull request #3 from bbulkow/master
Fix allocate by zero
Diffstat (limited to 'src/platforms/esp/32/clockless_rmt_esp32.h')
-rw-r--r--src/platforms/esp/32/clockless_rmt_esp32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/esp/32/clockless_rmt_esp32.h b/src/platforms/esp/32/clockless_rmt_esp32.h
index b4e7be25..68861b50 100644
--- a/src/platforms/esp/32/clockless_rmt_esp32.h
+++ b/src/platforms/esp/32/clockless_rmt_esp32.h
@@ -222,7 +222,7 @@ private:
// -- Buffer to hold all of the pulses. For the version that uses
// the RMT driver built into the ESP core.
rmt_item32_t * mBuffer;
- uint16_t mBufferSize;
+ uint16_t mBufferSize; // bytes
int mCurPulse;
public: