app: fix artnet text display
This commit is contained in:
parent
7f06533fe7
commit
f7e0d514dc
|
@ -1209,7 +1209,7 @@ void main(void)
|
||||||
case UNIVERSE_OFFSET + 6: // back front line 2
|
case UNIVERSE_OFFSET + 6: // back front line 2
|
||||||
if (dmx_length >= 5 && strlen((char*)&radio_esp8266_received[18 + 5]) + 5 < dmx_length) {
|
if (dmx_length >= 5 && strlen((char*)&radio_esp8266_received[18 + 5]) + 5 < dmx_length) {
|
||||||
const int16_t position = (radio_esp8266_received[18 + 3] << 8) + radio_esp8266_received[18 + 4];
|
const int16_t position = (radio_esp8266_received[18 + 3] << 8) + radio_esp8266_received[18 + 4];
|
||||||
matrix_puts(true, position, 8, (char*)&radio_esp8266_received[18 + 5], FONT_KING10, radio_esp8266_received[18 + 0], radio_esp8266_received[18 + 1], radio_esp8266_received[18 + 2]);
|
matrix_puts(true, position, 8, (char*)&radio_esp8266_received[18 + 5], FONT_KING8, radio_esp8266_received[18 + 0], radio_esp8266_received[18 + 1], radio_esp8266_received[18 + 2]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue