Skip to content

Commit

Permalink
Support for older Alcor firmwares (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelink2012 committed Jan 21, 2017
1 parent 9d93f30 commit 91ddf1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/cmalcor/bin/
/cmalcor/obj/
/cmalcor/build_temp/
*.db
*.opendb

#################
## C++
Expand Down
4 changes: 2 additions & 2 deletions cmalcor/include/cmalcor.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Uses C99/C++ comments, can't bother to replace them.

#if defined(CMALCOR_COMPILING) || defined(CMALCOR_COMPILING_CLI)
#define CMALCOR_CAPI_VERSION 0x010100
#define CMALCOR_CAPI_VERSION_STRING "1.1.0"
#define CMALCOR_CAPI_VERSION 0x010101
#define CMALCOR_CAPI_VERSION_STRING "1.1.1"
#endif

/*
Expand Down
2 changes: 1 addition & 1 deletion cmalcor/src/capi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static HidDevice GetDevice()
if(auto newdev = HidDevice::ScanForDevice(0x2516, 0x2D)) // newer versions of the alcor firmware uses this PID/VID
return newdev;
else
return HidDevice();//return HidDevice::ScanForDevice(0x2516, 0x28); -- still needs someone to test
return HidDevice::ScanForDevice(0x2516, 0x28);
#endif
}

Expand Down

0 comments on commit 91ddf1b

Please sign in to comment.