Fix Wake
This commit is contained in:
@@ -510,7 +510,11 @@ namespace WaveshareUARTFingerprintSensor
|
||||
public void Wake()
|
||||
{
|
||||
_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()
|
||||
|
||||
Reference in New Issue
Block a user