From 838146f45f5b85b526d5df7e6f1a1e8c42290524 Mon Sep 17 00:00:00 2001 From: Svdbroek Date: Fri, 16 Feb 2024 23:34:32 +0100 Subject: Fix USB device ID indentation in razerdevice.c and razerkbd_driver.c --- src/lib/razerdevice.c | 2 +- src/lib/razerkbd_driver.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/razerdevice.c b/src/lib/razerdevice.c index 19ad8cc..b5271f6 100755 --- a/src/lib/razerdevice.c +++ b/src/lib/razerdevice.c @@ -68,7 +68,7 @@ bool is_keyboard(IOUSBDeviceInterface **usb_dev) case USB_DEVICE_ID_RAZER_BLACKWIDOW_V3_MINI_WIRED: case USB_DEVICE_ID_RAZER_BLACKWIDOW_V3_MINI_WIRELESS: case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_75: - case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_PRO: + case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_PRO: return true; } diff --git a/src/lib/razerkbd_driver.c b/src/lib/razerkbd_driver.c index ed0df95..209366a 100644 --- a/src/lib/razerkbd_driver.c +++ b/src/lib/razerkbd_driver.c @@ -571,7 +571,7 @@ ssize_t razer_attr_write_mode_reactive(IOUSBDeviceInterface **usb_dev, const cha case USB_DEVICE_ID_RAZER_HUNTSMAN_V2_TKL: case USB_DEVICE_ID_RAZER_BLACKWIDOW_V3_MINI_WIRED: case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_75: - case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_PRO: + case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_PRO: report = razer_chroma_extended_matrix_effect_reactive(VARSTORE, BACKLIGHT_LED, speed, (struct razer_rgb *)&buf[1]); report.transaction_id.id = 0x1F; break; @@ -1720,7 +1720,7 @@ ssize_t razer_attr_write_matrix_custom_frame(IOUSBDeviceInterface **usb_dev, con case USB_DEVICE_ID_RAZER_HUNTSMAN_V2_TKL: case USB_DEVICE_ID_RAZER_BLACKWIDOW_V3_MINI_WIRED: case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_75: - case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_PRO: + case USB_DEVICE_ID_RAZER_BLACKWIDOW_V4_PRO: report = razer_chroma_extended_matrix_set_custom_frame(row_id, start_col, stop_col, (unsigned char *)&buf[offset]); report.transaction_id.id = 0x1F; break; -- cgit v1.2.3