Merge pull request #11 from liangyongxiang/master
clean trailing blank characters
This commit is contained in:
commit
57a94c558f
|
@ -1,16 +1,16 @@
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
|
|
||||||
if GetDepend(['AT_DEVICE_M26']):
|
if GetDepend(['AT_DEVICE_M26']):
|
||||||
src = Glob('at_socket_m26.c')
|
src = Glob('at_socket_m26.c')
|
||||||
|
|
||||||
if GetDepend(['AT_DEVICE_ESP8266']):
|
if GetDepend(['AT_DEVICE_ESP8266']):
|
||||||
src = Glob('at_socket_esp8266.c')
|
src = Glob('at_socket_esp8266.c')
|
||||||
|
|
||||||
if GetDepend(['AT_DEVICE_NOT_SELECTED']):
|
if GetDepend(['AT_DEVICE_NOT_SELECTED']):
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
|
|
||||||
group = DefineGroup('at_device', src, depend = ['PKG_USING_AT_DEVICE','AT_USING_SOCKET'], CPPPATH = [cwd])
|
group = DefineGroup('at_device', src, depend = ['PKG_USING_AT_DEVICE','AT_USING_SOCKET'], CPPPATH = [cwd])
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -49,7 +49,7 @@ int at_client_test(int argc, char **argv)
|
||||||
|
|
||||||
/* close echo */
|
/* close echo */
|
||||||
at_exec_cmd(resp, "ATE0");
|
at_exec_cmd(resp, "ATE0");
|
||||||
|
|
||||||
result = at_exec_cmd(resp, "AT+CIFSR");
|
result = at_exec_cmd(resp, "AT+CIFSR");
|
||||||
if (result != RT_EOK)
|
if (result != RT_EOK)
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
* 2018-06-20 chenyong first version
|
* 2018-06-20 chenyong first version
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <at.h>
|
#include <at.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
* 2018-06-12 chenyong first version
|
* 2018-06-12 chenyong first version
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue