#include "peripherals/Peripherals.h"
#include <usb.h>
#include "utils/log.h"
+#include "utils/StringUtils.h"
using namespace PERIPHERALS;
GetType(dev->config[0].interface[0].altsetting[0].bInterfaceClass) :
GetType(dev->descriptor.bDeviceClass);
#ifdef TARGET_FREEBSD
- result.m_strLocation.Format("%s", dev->filename);
+ result.m_strLocation = StringUtils::Format("%s", dev->filename);
#else
- result.m_strLocation.Format("/bus%s/dev%s", bus->dirname, dev->filename);
+ result.m_strLocation = StringUtils::Format("/bus%s/dev%s", bus->dirname, dev->filename);
#endif
result.m_iSequence = GetNumberOfPeripheralsWithId(result.m_iVendorId, result.m_iProductId);
if (!results.ContainsResult(result))