diff options
author | clyne <clyne@bitgloo.com> | 2021-04-11 15:37:33 -0400 |
---|---|---|
committer | clyne <clyne@bitgloo.com> | 2021-04-11 15:37:33 -0400 |
commit | ae14f05fe36741f44d87de33d3ffcb0829182534 (patch) | |
tree | 1418ad92d0ab34090f2dc114d96a042651c0ac0b /gui/stmdsp.hpp | |
parent | cf20e4acebcaecf9e91d55123553589ea0689b4e (diff) |
semi-WIP Windows port
Diffstat (limited to 'gui/stmdsp.hpp')
-rw-r--r-- | gui/stmdsp.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/stmdsp.hpp b/gui/stmdsp.hpp index d56a1ab..c15633a 100644 --- a/gui/stmdsp.hpp +++ b/gui/stmdsp.hpp @@ -24,7 +24,12 @@ namespace stmdsp class scanner { private: - constexpr static const char *STMDSP_USB_ID = "USB VID:PID=0483:5740"; + constexpr static const char *STMDSP_USB_ID = +#ifndef STMDSP_WIN32 + "USB VID:PID=0483:5740"; +#else + "USB\\VID_0483&PID_5740"; +#endif public: std::list<std::string>& scan(); |