mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 11:33:20 +00:00
Update cmd_newLEDDriver.c
This commit is contained in:
parent
e0b0e9053a
commit
1d003279f1
@ -146,6 +146,7 @@ bool LED_IsLedDriverChipRunning()
|
||||
|| DRV_IsRunning("KP18058")
|
||||
|| DRV_IsRunning("SM16703P")
|
||||
|| DRV_IsRunning("SM15155E")
|
||||
|| DRV_IsRunning("DMX")
|
||||
;
|
||||
#else
|
||||
return false;
|
||||
@ -661,7 +662,7 @@ void apply_smart_light() {
|
||||
#if ENABLE_DRIVER_SM16703P
|
||||
if (pixel_count > 0 && (g_lightMode != Light_Anim || g_lightEnableAll == 0)) {
|
||||
SM16703P_setAllPixels(finalColors[0], finalColors[1], finalColors[2], finalColors[3], finalColors[4]);
|
||||
SM16703P_Show();
|
||||
Strip_Apply();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user