diff --git a/SConscript b/SConscript index 178afda..9c57f8b 100644 --- a/SConscript +++ b/SConscript @@ -1,16 +1,16 @@ from building import * cwd = GetCurrentDir() - + if GetDepend(['AT_DEVICE_M26']): src = Glob('at_socket_m26.c') - + if GetDepend(['AT_DEVICE_ESP8266']): src = Glob('at_socket_esp8266.c') - + if GetDepend(['AT_DEVICE_NOT_SELECTED']): src = Glob('*.c') - + group = DefineGroup('at_device', src, depend = ['PKG_USING_AT_DEVICE','AT_USING_SOCKET'], CPPPATH = [cwd]) Return('group') diff --git a/at_client_sample.c b/at_client_sample.c index 7935104..5d0c78e 100644 --- a/at_client_sample.c +++ b/at_client_sample.c @@ -49,7 +49,7 @@ int at_client_test(int argc, char **argv) /* close echo */ at_exec_cmd(resp, "ATE0"); - + result = at_exec_cmd(resp, "AT+CIFSR"); if (result != RT_EOK) { diff --git a/at_socket_esp8266.c b/at_socket_esp8266.c index 9f4c91c..5e06c3d 100644 --- a/at_socket_esp8266.c +++ b/at_socket_esp8266.c @@ -21,7 +21,7 @@ * Date Author Notes * 2018-06-20 chenyong first version */ - + #include #include #include diff --git a/at_socket_m26.c b/at_socket_m26.c index 8c95485..a13fef4 100644 --- a/at_socket_m26.c +++ b/at_socket_m26.c @@ -21,7 +21,7 @@ * Date Author Notes * 2018-06-12 chenyong first version */ - + #include #include