解决一些软件bug
1.make.py添加输出源文件的命令 2.解决找不到usart设备导致文件管理无法退出卡死的问题 3.解决点击关于本机卡死的问题 4.解决工具界面中文工具显示乱码的问题
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
|
||||
|
||||
/*------------------------<2D>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>غ<EFBFBD><D8BA><EFBFBD>-----------------------------*/
|
||||
|
||||
|
||||
// 1,ʹ<><CAB9>nrf<72><66><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ô<EFBFBD><C3B4><EFBFBD>
|
||||
#define USE_NRF 0
|
||||
#define USE_NRF 0
|
||||
|
||||
static int tools_updata_thread_on(void);
|
||||
static int tools_updata_thread_off(void);
|
||||
@@ -62,7 +62,11 @@ static void cd_updata_thread(void *t)
|
||||
}
|
||||
#else
|
||||
FILE *f=fopen("usart","r");
|
||||
if(f==NULL) return;
|
||||
if(f==NULL) {
|
||||
myfree(data);
|
||||
g_updata_down=1;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
while(1)
|
||||
{
|
||||
@@ -257,7 +261,7 @@ static void puts_char(stdout_file *p,int ch)
|
||||
static int put(int ch)
|
||||
{
|
||||
stdout_file *file=g_stdout_file;
|
||||
|
||||
|
||||
if(file)
|
||||
{
|
||||
if(ch>0x80)
|
||||
|
Reference in New Issue
Block a user