Updated build configs

This commit is contained in:
Mark Qvist 2022-10-30 18:58:12 +01:00
parent 4085e92c4f
commit d2dab8c65e
3 changed files with 32 additions and 25 deletions

View file

@ -660,13 +660,14 @@ void serialCallback(uint8_t sbyte) {
}
cbuf[frame_len++] = sbyte;
}
if (frame_len == 9) {
uint8_t line = cbuf[0];
if (line > 63) line = 63;
int fb_o = line*8;
memcpy(fb+fb_o, cbuf+1, 8);
}
#if HAS_DISPLAY
if (frame_len == 9) {
uint8_t line = cbuf[0];
if (line > 63) line = 63;
int fb_o = line*8;
memcpy(fb+fb_o, cbuf+1, 8);
}
#endif
} else if (command == CMD_FB_READ) {
if (sbyte != 0x00) {
kiss_indicate_fb();