Revision fb72e91b src/urt_core.c

View differences:

src/urt_core.c
298 298
#endif /* URT_CFG_PUBSUB_ENABLED */
299 299

  
300 300

  
301
# if (URT_CFG_RPC_ENABLED)
301
#if (URT_CFG_RPC_ENABLED == true)
302 302
/**
303 303
 * @brief   Prepend service to core's list of services.
304 304
 *
......
325 325
 * @return Returns a pointer to the requested service. Returns NULL if no service matches the given ID.
326 326
 */
327 327
urt_service_t* urtCoreGetService(urt_serviceid_t id) {return urt_service_t;}
328
# endif /* URT_CFG_RPC_ENABLED */
328
#endif /* URT_CFG_RPC_ENABLED */
329 329

  
330 330
#if (URT_CFG_PUBSUB_QOS_DEADLINECHECKS == true)
331 331
urt_osTimerCallback_t urtCoreCallbackDefault(void* params)
332 332
{
333
  urtMutexLock(&core._lock);
334
  while (params) {
335
    urtPrintf("Danger");
336
    urtThreadSleep(1);
337
  }
338
  urtMutexUnlock(&core._lock);
339
  return
333
urtMutexLock(&core._lock);
334
while (params) {
335
  urtPrintf("Danger");
336
  urtThreadSleep(1);
337
}
338
urtMutexUnlock(&core._lock);
339
return;
340 340
}
341 341
#endif /* URT_CFG_PUBSUB_QOS_DEADLINECHECKS */
342 342

  

Also available in: Unified diff