add schematic
This commit is contained in:
@@ -312,8 +312,6 @@ void parse_colors(char * data, uint16_t len) {
|
||||
if (token != NULL) {
|
||||
// first string is the RGB color code
|
||||
uint8_t red, green, blue;
|
||||
// sscanf(token, "%2x%2x%2x", &red, &green, &blue);
|
||||
// sscanf causes Pico 1 to crash
|
||||
red = hexbyte(token);
|
||||
green = hexbyte(token+2);
|
||||
blue = hexbyte(token+4);
|
||||
|
||||
Reference in New Issue
Block a user