fix previous commit
This commit is contained in:
@@ -537,7 +537,7 @@ CFontz633_flush (Driver *drvthis)
|
|||||||
out[1] = i; // line
|
out[1] = i; // line
|
||||||
|
|
||||||
debug (RPT_INFO, "%s: l=%d c=%d count=%d string='%.*s'",
|
debug (RPT_INFO, "%s: l=%d c=%d count=%d string='%.*s'",
|
||||||
out[0], out[1], diff_length, diff_length,
|
__FUNCTION__, out[0], out[1], diff_length, diff_length,
|
||||||
&p->framebuf[first_diff + (i * p->width)] );
|
&p->framebuf[first_diff + (i * p->width)] );
|
||||||
|
|
||||||
memcpy(&out[2], &p->framebuf[first_diff + (i * p->width)], diff_length );
|
memcpy(&out[2], &p->framebuf[first_diff + (i * p->width)], diff_length );
|
||||||
@@ -572,7 +572,7 @@ CFontz633_flush (Driver *drvthis)
|
|||||||
out[1] = i; // line
|
out[1] = i; // line
|
||||||
|
|
||||||
debug (RPT_INFO, "%s: l=%d c=%d count=%d string='%.*s'",
|
debug (RPT_INFO, "%s: l=%d c=%d count=%d string='%.*s'",
|
||||||
out[0], out[1], length, length, sp);
|
__FUNCTION__, out[0], out[1], length, length, sp);
|
||||||
|
|
||||||
memcpy(&out[2], sp, length);
|
memcpy(&out[2], sp, length);
|
||||||
send_bytes_message(p->fd, CF633_Send_Data_to_LCD, length + 2, out);
|
send_bytes_message(p->fd, CF633_Send_Data_to_LCD, length + 2, out);
|
||||||
|
|||||||
Reference in New Issue
Block a user