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

View File

@@ -511,6 +511,10 @@ namespace WaveshareUARTFingerprintSensor
{ {
_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()