support for generic 4 pin CC and CA RGB LEDS

This commit is contained in:
Gareth Coleman
2024-04-18 22:00:33 +01:00
parent a149999cec
commit 7d77b23eb6
3 changed files with 99 additions and 10 deletions

View File

@@ -608,7 +608,7 @@ void setup()
#endif
#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL)
if (rgb_found.type != ScanI2C::DeviceType::NONE) {
if (rgb_found.type != ScanI2C::DeviceType::NONE || UNPHONE) {
ambientLightingThread = new AmbientLightingThread(rgb_found.type);
}
#endif