Revision 90e99d44 core/src/aos_main.cpp
| core/src/aos_main.cpp | ||
|---|---|---|
| 979 | 979 |
#endif |
| 980 | 980 |
|
| 981 | 981 |
/* periphery communication initialization */ |
| 982 |
#if (AMIROOS_CFG_SSSP_ENABLE == true) |
|
| 982 | 983 |
// CAN (mandatory) |
| 983 | 984 |
canStart(&MODULE_HAL_CAN, &moduleHalCanConfig); |
| 985 |
#endif |
|
| 984 | 986 |
// module specific initialization (if any) |
| 985 | 987 |
#ifdef MODULE_INIT_PERIPHERY_COMM |
| 986 | 988 |
MODULE_INIT_PERIPHERY_COMM(); |
| ... | ... | |
| 1299 | 1301 |
#endif |
| 1300 | 1302 |
|
| 1301 | 1303 |
/* stop all periphery communication */ |
| 1304 |
#if (AMIROOS_CFG_SSSP_ENABLE == true) |
|
| 1302 | 1305 |
// CAN (mandatory) |
| 1303 | 1306 |
canStop(&MODULE_HAL_CAN); |
| 1307 |
#endif |
|
| 1304 | 1308 |
#ifdef MODULE_SHUTDOWN_PERIPHERY_COMM |
| 1305 | 1309 |
MODULE_SHUTDOWN_PERIPHERY_COMM(); |
| 1306 | 1310 |
#endif |
Also available in: Unified diff