remove unnecessary lines
This commit is contained in:
parent
e34ffcb983
commit
066c8a47cb
1 changed files with 0 additions and 3 deletions
|
@ -81,9 +81,6 @@ void handleSetSingleLED(uint8_t * mypayload, uint8_t firstChar = 0) {
|
|||
strncpy (redhex, (const char *) &mypayload[2], 2 );
|
||||
strncpy (greenhex, (const char *) &mypayload[4], 2 );
|
||||
strncpy (bluehex, (const char *) &mypayload[6], 2 );
|
||||
ledstates[led].red = 0;
|
||||
ledstates[led].green = 0;
|
||||
ledstates[led].blue = 0;
|
||||
ledstates[led].red = strtol(redhex, NULL, 16);
|
||||
ledstates[led].green = strtol(greenhex, NULL, 16);
|
||||
ledstates[led].blue = strtol(bluehex, NULL, 16);
|
||||
|
|
Loading…
Reference in a new issue