Skip to content

Commit 91ddf1b

Browse files
committed
Support for older Alcor firmwares (#3)
1 parent 9d93f30 commit 91ddf1b

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
/cmalcor/bin/
55
/cmalcor/obj/
66
/cmalcor/build_temp/
7+
*.db
8+
*.opendb
79

810
#################
911
## C++

cmalcor/include/cmalcor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
// Uses C99/C++ comments, can't bother to replace them.
77

88
#if defined(CMALCOR_COMPILING) || defined(CMALCOR_COMPILING_CLI)
9-
#define CMALCOR_CAPI_VERSION 0x010100
10-
#define CMALCOR_CAPI_VERSION_STRING "1.1.0"
9+
#define CMALCOR_CAPI_VERSION 0x010101
10+
#define CMALCOR_CAPI_VERSION_STRING "1.1.1"
1111
#endif
1212

1313
/*

cmalcor/src/capi.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static HidDevice GetDevice()
4242
if(auto newdev = HidDevice::ScanForDevice(0x2516, 0x2D)) // newer versions of the alcor firmware uses this PID/VID
4343
return newdev;
4444
else
45-
return HidDevice();//return HidDevice::ScanForDevice(0x2516, 0x28); -- still needs someone to test
45+
return HidDevice::ScanForDevice(0x2516, 0x28);
4646
#endif
4747
}
4848

0 commit comments

Comments
 (0)