Skip to content

Commit

Permalink
clean (DfuPeripheralSelectorDelegate.cs): trivial neutral cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
ksidirop-laerdal committed May 8, 2024
1 parent 20846ea commit c68815e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ public override bool Select(CBPeripheral peripheral,
NSNumber rssi,
string name)
{
if (DfuInstallation.DeviceId != peripheral.Identifier.ToString())
{
return false;
}
return true;
return DfuInstallation.DeviceId == peripheral.Identifier.ToString();
}
}
}

0 comments on commit c68815e

Please sign in to comment.