projects
/
apps
/
native
/
gear-racing-car.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
84d92fa
)
fixed order of initializing modules
author
Jeonghoon Park
<jh1979.park@samsung.com>
Tue, 20 Mar 2018 09:31:13 +0000
(18:31 +0900)
committer
Jeonghoon Park
<jh1979.park@samsung.com>
Tue, 20 Mar 2018 09:31:13 +0000
(18:31 +0900)
src/app.c
patch
|
blob
|
history
diff --git
a/src/app.c
b/src/app.c
index
c8f3129
..
0a161d3
100644
(file)
--- a/
src/app.c
+++ b/
src/app.c
@@
-203,14
+203,6
@@
static bool service_app_create(void *data)
int ret = 0;
app_data *ad = data;
int ret = 0;
app_data *ad = data;
- receiver_init(RECEIVER_TYPE_UDP);
- receiver_set_state_changed_cb(RECEIVER_TYPE_UDP, __recv_state_change, ad);
-
- connection_manager_init();
- connection_manager_set_state_changed_cb(__conn_state_changed_cb, ad);
-
- message_queue_new();
-
/*
* if you want to use default configuration,
* Do not need to call resource_set_motor_driver_L298N_configuration(),
/*
* if you want to use default configuration,
* Do not need to call resource_set_motor_driver_L298N_configuration(),
@@
-229,6
+221,14
@@
static bool service_app_create(void *data)
}
#endif
}
#endif
+ receiver_init(RECEIVER_TYPE_UDP);
+ receiver_set_state_changed_cb(RECEIVER_TYPE_UDP, __recv_state_change, ad);
+
+ connection_manager_init();
+ connection_manager_set_state_changed_cb(__conn_state_changed_cb, ad);
+
+ message_queue_new();
+
return true;
}
return true;
}