mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-21 06:38:49 +01:00
add CONFIG printf
This commit is contained in:
parent
c6e3c43116
commit
3186a3216f
@ -680,7 +680,7 @@ void loop() {
|
||||
fp = NULL;
|
||||
fp = fopen(FIFO_FILE,"r+b");
|
||||
if (fp != NULL) {
|
||||
|
||||
g_config.fp = fp;
|
||||
while(1)
|
||||
{
|
||||
fread(readbuf,1, 1,fp);
|
||||
@ -688,6 +688,7 @@ void loop() {
|
||||
parse_serial_stream(&g_config,readbuf[0]);
|
||||
}
|
||||
fclose(fp);
|
||||
g_config.fp = NULL;
|
||||
}
|
||||
|
||||
sleep(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user