Skip to content

Commit

Permalink
changed access specifier in tinyNeoPixel libs from private to protect…
Browse files Browse the repository at this point in the history
…ed so inheriting classes have access to important variables.
  • Loading branch information
moose4lord committed May 29, 2024
1 parent 6844a18 commit 9d138fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion megaavr/libraries/tinyNeoPixel/tinyNeoPixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class tinyNeoPixel {
#endif


private:
protected:

boolean
begun; // true if begin() previously called
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class tinyNeoPixel {
#endif


private:
protected:

uint16_t
numLEDs, // Number of RGB LEDs in strip
Expand Down

1 comment on commit 9d138fa

@moose4lord
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented my access specifier change so the WS2812FX lib could inherit from tinyNeoPixel. See Issue #1103.

Please sign in to comment.