Update TryGetUserCount

Change default timeout in TryGetUserCount
This commit is contained in:
2020-11-24 15:41:55 +01:00
parent 92a3a312ad
commit 93dacbbaa6

View File

@@ -121,7 +121,7 @@ namespace WaveshareUARTFingerprintSensor
public bool TryGetUserCount(out ushort count)
{
if (TrySendAndReceive(CommandType.QueryUserCount, 0, 0, 0, out var response))
if (TrySendAndReceive(CommandType.QueryUserCount, 0, 0, 0, out var response, 1000))
{
(byte countHigh, byte countLow, ResponseType responseType) = response;