예제 #1
0
파일: main.c 프로젝트: RobinLin/Espruino
/**@brief Function for initializing the services that will be used by the application.
 */
static void services_init(void)
{
    tps_init();
    ias_init();
    lls_init();
    bas_init();
    ias_client_init();
}
/**@brief Initialize services that will be used by the application.
 */
void services_init(void)
{
    tps_init();  // add Tx power service
    ias_init();  // add immediate Alert Service
    lls_init();  // add Link Loss Service
    bas_init();  // add Battery alert service
    ias_client_init(); // add imediate alert service client
}