Skip to content

Commit

Permalink
Fix unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Feb 7, 2023
1 parent ca89075 commit cffb79f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Adafruit_NeoPixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3460,7 +3460,6 @@ void Adafruit_NeoPixel::rainbow(uint16_t first_hue, int8_t reps,
neoPixelType Adafruit_NeoPixel::str2order(const char *v) {
int8_t r = 0, g = 0, b = 0, w = -1;
if (v) {
uint8_t i;
char c;
for (uint8_t i=0; ((c = tolower(v[i]))); i++) {
if (c == 'r') r = i;
Expand Down

0 comments on commit cffb79f

Please sign in to comment.