From 9d138fa2c4708820289538f15f0475ba810ed607 Mon Sep 17 00:00:00 2001 From: Keith Lord Date: Wed, 29 May 2024 06:43:37 -0400 Subject: [PATCH] changed access specifier in tinyNeoPixel libs from private to protected so inheriting classes have access to important variables. --- megaavr/libraries/tinyNeoPixel/tinyNeoPixel.h | 2 +- megaavr/libraries/tinyNeoPixel_Static/tinyNeoPixel_Static.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/megaavr/libraries/tinyNeoPixel/tinyNeoPixel.h b/megaavr/libraries/tinyNeoPixel/tinyNeoPixel.h index 67f43481..4a9b87af 100644 --- a/megaavr/libraries/tinyNeoPixel/tinyNeoPixel.h +++ b/megaavr/libraries/tinyNeoPixel/tinyNeoPixel.h @@ -321,7 +321,7 @@ class tinyNeoPixel { #endif - private: + protected: boolean begun; // true if begin() previously called diff --git a/megaavr/libraries/tinyNeoPixel_Static/tinyNeoPixel_Static.h b/megaavr/libraries/tinyNeoPixel_Static/tinyNeoPixel_Static.h index 8f22724e..aa7b7fb9 100644 --- a/megaavr/libraries/tinyNeoPixel_Static/tinyNeoPixel_Static.h +++ b/megaavr/libraries/tinyNeoPixel_Static/tinyNeoPixel_Static.h @@ -305,7 +305,7 @@ class tinyNeoPixel { #endif - private: + protected: uint16_t numLEDs, // Number of RGB LEDs in strip