/* Returns the status for the specified circuit. flags points to a longword which receives a combination of the canSTAT_xxx flags.  */
static canStatus LeafLightLibFuncReadStatus(const CanHandle hnd, uint32_t *const flags)
/* Returns the status for the specified circuit. flags points to a longword which receives a combination of the canSTAT_xxx flags.  */
static canStatus LeafLightLibFuncReadStatus(const CanHandle hnd, uint32_t *const flags)
{
  canStatus result = canERR_NOTINITIALIZED;
  assert(leafLightLibFuncReadStatusPtr != NULL);
  assert(leafLightDllHandle != NULL);
  if ((leafLightLibFuncReadStatusPtr != NULL) && (leafLightDllHandle != NULL))
  {
    result = leafLightLibFuncReadStatusPtr(hnd, flags);
  }
  return result;
}