Skip to content

Commit 8e2a3c9

Browse files
committed
(ckb-daemon) Fixed typo in LED code
1 parent a9b6c2a commit 8e2a3c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
beta-v0.2.1+t11
1+
beta-v0.2.1+t12

src/ckb-daemon/led_mouse.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ static int rgbcmp(const lighting* lhs, const lighting* rhs){
1111
// Return true if all mouse zones are black
1212
// Automatically returns false for all devices except M65, because they don't like this packet
1313
static int isblack(const usbdevice* kb, const lighting* light){
14-
if(IS_M65(kb))
14+
if(!IS_M65(kb))
1515
return 0;
1616
uchar black[N_MOUSE_ZONES] = { 0 };
1717
return !memcmp(light->r + LED_MOUSE, black, sizeof(black)) && !memcmp(light->g + LED_MOUSE, black, sizeof(black)) && !memcmp(light->b + LED_MOUSE, black, sizeof(black));

0 commit comments

Comments
 (0)