论坛元老 
   
	- 积分
 - 4467
 
        - 金钱
 - 4467 
 
       - 注册时间
 - 2013-6-27
 
      - 在线时间
 - 565 小时
 
 
 
 | 
 
 
发表于 2017-3-7 17:24:20
|
显示全部楼层
 
 
 
下面是我在51单片机部分代码,完全没问题! 
 
        if(strcmp(pComDbg.Revdata,"help\r\n") == NULL) 
                { 
                DPRINTF((".Dbg\r\n")); 
                return FALSE; 
                } 
                 
        if(strcmp(pComDbg.Revdata,".dbg\r\n") == NULL) 
                { 
                DPRINTF(("DbgMsg\r\n")); 
                DPRINTF(("LogoName <\"str16\">\r\n")); 
                DPRINTF(("ComDbg   <En1> <save1>\r\n")); 
                DPRINTF(("Exit\r\n")); 
                return TRUE; 
                } 
 
        if(strcmp(pComDbg.Revdata,"dbgmsg\r\n") == NULL) 
                { 
                DPRINTF(("LogoName:%s\r\n",pComDbg.Str)); 
                DPRINTF(("InPut 0X3A => h3a or H3a\r\n")); 
                return TRUE; 
                } |   
 
 
 
 |