This commit is contained in:
2021-01-10 00:50:59 +01:00
parent 15e3e5a82a
commit 7c2a102bee

View File

@@ -510,7 +510,11 @@ namespace WaveshareUARTFingerprintSensor
public void Wake() public void Wake()
{ {
_sleeping = false; _sleeping = false;
_rstPin.Write(GpioPinValue.High); _rstPin.Write(GpioPinValue.High);
// Needed after wake to really wake the sensor
// Because the first command always fail for whatever reason
TryGetUserCount(out var _);
} }
private void OnWake() private void OnWake()