Skip to content

Commit e30c6d6

Browse files
junjiecatgmailjunjiec
junjiecatgmail
authored andcommitted
Merge branch 'aos1.3.1-memory' into 'aos1.3.1'
[HAL] Fix memory leak (Open_Monitor) [HAL] Fix memory leak (Open_Monitor) [HAL] Fix bug device fails to get packet in sniffer mode. [LINKKIT] Upload channel to cloud [AWSS] ESP8266 & MK3165 disable registrar. See merge request !3484
1 parent 6acd271 commit e30c6d6

File tree

5 files changed

+144
-119
lines changed

5 files changed

+144
-119
lines changed

example/linkkitapp/linkkit-example.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ static char awss_running = 0;
4343

4444
void reboot_system(void *parms);
4545
void start_linkkitapp(void *parms);
46-
static void wifi_service_event(input_event_t *event, void *priv_data) {
46+
static void wifi_service_event(input_event_t *event, void *priv_data)
47+
{
4748
if (event->type != EV_WIFI) {
4849
return;
4950
}
@@ -79,7 +80,8 @@ void reboot_system(void *parms)
7980
aos_reboot();
8081
}
8182

82-
static void cloud_service_event(input_event_t *event, void *priv_data) {
83+
static void cloud_service_event(input_event_t *event, void *priv_data)
84+
{
8385
if (event->type != EV_YUNIO) {
8486
return;
8587
}
@@ -98,7 +100,7 @@ static void cloud_service_event(input_event_t *event, void *priv_data) {
98100
static void start_netmgr(void *p)
99101
{
100102
netmgr_start(true);
101-
//aos_task_exit(0);
103+
aos_task_exit(0);
102104
}
103105

104106
void do_awss_active()

0 commit comments

Comments
 (0)