Skip to content

Commit

Permalink
ajust values
Browse files Browse the repository at this point in the history
  • Loading branch information
semvis123 committed Mar 22, 2024
1 parent d450281 commit 928f2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sony.mm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ -(void)setCurrentBluetoothListeningMode:(NSString *)listeningMode forAccessory:(
// 0x3e 0x0c 0x00 0x00 0x00 0x00 0x07 0x68 0x17 0x01 0x01 0x00 0x00 0x14 0xffffffa8 0x3c // noise canceling
// 0x3e 0x0c 0x01 0x00 0x00 0x00 0x07 0x68 0x17 0x01 0x00 0x00 0x00 0x14 0xffffffa8 0x3c // off
// 0x3e 0x0c 0x01 0x00 0x00 0x00 0x07 0x68 0x17 0x01 0x01 0x01 0x01 0x14 0xffffffa8 0x3c // transparency - focus on voice
char newCommand[] = {0x0c, pingPong, 0x00, 0x00, 0x00, 0x07, 0x68, 0x17, sendStatus, !isOff, (!isNC && !isOff) || focusOnVoice, focusOnVoice, ncAsmValue};
char newCommand[] = {0x0c, pingPong, 0x00, 0x00, 0x00, 0x07, 0x68, 0x17, 0x01, !isOff, ncAsmValue >= 1, focusOnVoice, static_cast<char>(ncAsmValue <= 0 ? 1 : ncAsmValue)};
memcpy(command, newCommand, sizeof(newCommand));
commandSize = sizeof(newCommand);
}
Expand Down

0 comments on commit 928f2f0

Please sign in to comment.