add CONFIG printf

This commit is contained in:
cuu 2021-05-13 13:00:33 +08:00
parent c6e3c43116
commit 3186a3216f

View File

@ -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);