Change variable name and revert

This commit is contained in:
Travis Nickles 2017-05-25 03:01:07 -07:00
parent c7a840194c
commit 312d3b433e

View File

@ -800,11 +800,11 @@ namespace DS4Windows
if (conType == ConnectionType.SONYWA)
{
bool noneSynced = inputReport[31] != 0;
if (noneSynced != synced)
bool controllerSynced = inputReport[31] == 0;
if (controllerSynced != synced)
{
SyncChange?.Invoke(this, EventArgs.Empty);
synced = noneSynced;
synced = controllerSynced;
}
}