/* Closes the channel associated with the handle. If no other threads are using the CAN circuit, it is taken off bus. The handle can not be used for further references to the channel, so any variable containing it should be zeroed.  */
static canStatus LeafLightLibFuncClose(const CanHandle hnd)
/* Closes the channel associated with the handle. If no other threads are using the CAN circuit, it is taken off bus. The handle can not be used for further references to the channel, so any variable containing it should be zeroed.  */
static canStatus LeafLightLibFuncClose(const CanHandle hnd)
{
  canStatus result = canERR_NOTINITIALIZED;
  assert(leafLightLibFuncClosePtr != NULL);
  assert(leafLightDllHandle != NULL);
  if ((leafLightLibFuncClosePtr != NULL) && (leafLightDllHandle != NULL))
  {
    result = leafLightLibFuncClosePtr(hnd);
  }
  return result;
}