/* Get a string descriptor Add string to USB device Get string index corresponding to a given string Writes an 8-bit value to the descriptor buffer  */
sl_status_t sl_usbd_core_write_08b_to_descriptor_buf(uint8_t val)
/* Get a string descriptor Add string to USB device Get string index corresponding to a given string Writes an 8-bit value to the descriptor buffer  */
sl_status_t sl_usbd_core_write_08b_to_descriptor_buf(uint8_t val)
{
  sli_usbd_device_t  *p_dev;
  sl_status_t  status;
  p_dev = &usbd_ptr->device;
  status = *(p_dev->desc_buf_status_ptr);
  if (status == SL_STATUS_OK) {
    usbd_core_write_to_descriptor_buf(p_dev, &val, 1u);
  }
  return status;
}