Skip to content

Commit

Permalink
Clang-format should be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicola02nb committed Jun 10, 2024
1 parent f6fb41d commit 9e5e537
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/devices/steelseries_arctis_nova_7.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ int arctis_nova_7_read_device_status(hid_device* device_handle, unsigned char* d

static int arctis_nova_7_bluetooth_when_powered_on(hid_device* device_handle, uint8_t num)
{
unsigned char data[MSG_SIZE] = { 0x00, 0xb2, num };
unsigned char data[MSG_SIZE] = { 0x00, 0xb2, num };
unsigned char data2[MSG_SIZE] = { 0x00, 0x09, 0 };
if (hid_write(device_handle, data, MSG_SIZE) >= 0){
if (hid_write(device_handle, data, MSG_SIZE) >= 0) {
return hid_write(device_handle, data2, MSG_SIZE);
}
return HSC_READ_TIMEOUT;
Expand Down Expand Up @@ -279,7 +279,7 @@ static int arctis_nova_7_mic_volume(hid_device* device_handle, uint8_t num)
// step + 0x01
// 0x07 max
num = num / 16;
if (num == 8)
if (num == 8)
num--;
unsigned char data[MSG_SIZE] = { 0x00, 0x37, num };
return hid_write(device_handle, data, MSG_SIZE);
Expand Down

0 comments on commit 9e5e537

Please sign in to comment.