修复kconfig保存错误的问题

This commit is contained in:
zhangzheng
2023-11-22 22:14:25 +08:00
parent ba53429b12
commit 1fde5f0e1d
2 changed files with 4 additions and 2 deletions

View File

@@ -5,8 +5,10 @@
#include <assert.h>
void dfs_test(void)
{
char data[5];
int fd = open("/dev/uart2", O_RDWR, 0x777);
assert(fd >= 0);
write(fd, "1234\n", 5);
read(fd, data, 5);
close(fd);
}