mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 11:33:20 +00:00
free
This commit is contained in:
parent
7d9596e74e
commit
89acc5a178
@ -271,6 +271,9 @@ commandResult_t SM16703P_InitForLEDCount(const void *context, const char *cmd, c
|
||||
}
|
||||
}
|
||||
pixel_size = i; // number of color channels
|
||||
if (color_channel_order != default_color_channel_order) {
|
||||
os_free(color_channel_order);
|
||||
}
|
||||
color_channel_order = new_channel_order;
|
||||
}
|
||||
led_backend.setLEDCount(pixel_count, pixel_size);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user