Fixed typo in setBaudRate
There was a typo in the setBaudRate method. For that reason, it was not possible to change the baudrate.
This commit is contained in:
parent
358c6c9e43
commit
b9175cb792
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ uint8_t Adafruit_Fingerprint::writeRegister(uint8_t regAdd, uint8_t value) {
|
|||
/**************************************************************************/
|
||||
uint8_t Adafruit_Fingerprint::setBaudRate(uint8_t baudrate) {
|
||||
|
||||
return (writeRegister(FINGERPRINT_BAUD_REG_ADDR, baud_rate));
|
||||
return (writeRegister(FINGERPRINT_BAUD_REG_ADDR, baudrate));
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in a new issue