mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-29 09:28:49 -04:00
Updated build configs
This commit is contained in:
parent
4085e92c4f
commit
d2dab8c65e
3 changed files with 32 additions and 25 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue