mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
send ANIC when grfe's transitiion is not 'c' - release
This commit is contained in:
@@ -657,7 +657,14 @@ void draw_VU(struct GDS_Device * display, const uint8_t *data, int level, int x,
|
|||||||
* Process graphic display data
|
* Process graphic display data
|
||||||
*/
|
*/
|
||||||
static void grfe_handler( u8_t *data, int len) {
|
static void grfe_handler( u8_t *data, int len) {
|
||||||
|
struct grfe_packet *pkt = (struct grfe_packet*) data;
|
||||||
|
|
||||||
|
// we don't support transition, simply claim we're done
|
||||||
|
if (pkt->transition != 'c') {
|
||||||
|
LOG_INFO("Transition %c requested with offset %hu, param %d", pkt->transition, pkt->offset, pkt->param);
|
||||||
|
sendANIC(ANIM_TRANSITION);
|
||||||
|
}
|
||||||
|
|
||||||
xSemaphoreTake(displayer.mutex, portMAX_DELAY);
|
xSemaphoreTake(displayer.mutex, portMAX_DELAY);
|
||||||
|
|
||||||
scroller.active = false;
|
scroller.active = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user