mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-13 02:38:50 +01:00
tab to be two space in PRINT_STATE
This commit is contained in:
parent
72eeb89451
commit
bcc984109a
@ -682,7 +682,7 @@ void loop() {
|
|||||||
{
|
{
|
||||||
fread(readbuf,1, 1,fp);
|
fread(readbuf,1, 1,fp);
|
||||||
//printf("read %x",readbuf[0]);
|
//printf("read %x",readbuf[0]);
|
||||||
if(cfg->state == PRINT_STATE) {
|
if(g_config.state == PRINT_STATE) {
|
||||||
if(readbuf[0] == ASCII_TAB) {
|
if(readbuf[0] == ASCII_TAB) {
|
||||||
readbuf[0] = ' ';
|
readbuf[0] = ' ';
|
||||||
parse_serial_stream(&g_config,readbuf[0]);
|
parse_serial_stream(&g_config,readbuf[0]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user