Skip to content

Commit

Permalink
Update library.properties version, and minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Jul 30, 2019
1 parent 5239de8 commit b84dae3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Adafruit_NeoPixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class Adafruit_NeoPixel {
@return 1 or true if show() will start sending immediately, 0 or false
if show() would block (meaning some idle time is available).
*/
boolean canShow(void) { return (micros() - endTime) >= 300L; }
boolean canShow(void) const { return (micros()-endTime) >= 300L; }
/*!
@brief Get a pointer directly to the NeoPixel data buffer in RAM.
Pixel data is stored in a device-native format (a la the NEO_*
Expand All @@ -252,7 +252,7 @@ class Adafruit_NeoPixel {
@brief Retrieve the pin number used for NeoPixel data output.
@return Arduino pin number (-1 if not set).
*/
int16_t getPin(void) const { return pin; };
int16_t getPin(void) const { return pin; };
/*!
@brief Return the number of pixels in an Adafruit_NeoPixel strip object.
@return Pixel count (0 if not set).
Expand Down Expand Up @@ -340,7 +340,7 @@ class Adafruit_NeoPixel {
boolean begun; ///< true if begin() previously called
uint16_t numLEDs; ///< Number of RGB LEDs in strip
uint16_t numBytes; ///< Size of 'pixels' buffer below
int16_t pin; ///< Output pin number (-1 if not yet set)
int16_t pin; ///< Output pin number (-1 if not yet set)
uint8_t brightness; ///< Strip brightness 0-255 (stored as +1)
uint8_t *pixels; ///< Holds LED color values (3 or 4 bytes each)
uint8_t rOffset; ///< Red index within each 3- or 4-byte pixel
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit NeoPixel
version=1.2.3
version=1.2.4
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=Arduino library for controlling single-wire-based LED pixels and strip.
Expand Down

0 comments on commit b84dae3

Please sign in to comment.