feat(bw128): add customisable switches edit page, allow editing custom colors (#5799)

This commit is contained in:
philmoz
2025-01-20 10:13:40 +10:00
committed by GitHub
parent a83b5cdb7b
commit a3c0e0a007
4 changed files with 171 additions and 154 deletions
-4
View File
@@ -41,10 +41,6 @@ uint8_t getRGBColorIndex(uint32_t color)
if (color == colorTable[i])
return(i + 1);
}
for (uint8_t i = 0; i < DIM(colorTabl2); i++) {
if (color == colorTabl2[i])
return(i + 1);
}
return 0; // Custom value set with Companion
}