mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-12 04:45:54 +00:00
pixelanim speed p1, reorganize
This commit is contained in:
@ -211,13 +211,6 @@ int http_fn_index(http_request_t* request) {
|
||||
hprintf255(request, "<h3>Enabled %s!</h3>", CHANNEL_GetLabel(j));
|
||||
CHANNEL_Set(j, 255, 1);
|
||||
}
|
||||
#if ENABLE_DRIVER_PIXELANIM
|
||||
if (http_getArg(request->url, "an", tmpA, sizeof(tmpA))) {
|
||||
j = atoi(tmpA);
|
||||
hprintf255(request, "<h3>Ran %i!</h3>", (j));
|
||||
PixelAnim_Run(j);
|
||||
}
|
||||
#endif
|
||||
if (http_getArg(request->url, "rgb", tmpA, sizeof(tmpA))) {
|
||||
hprintf255(request, "<h3>Set RGB to %s!</h3>", tmpA);
|
||||
LED_SetBaseColor(0, "led_basecolor", tmpA, 0);
|
||||
|
||||
Reference in New Issue
Block a user