EverythingSmartHome / fingerprint-mqtt

Fingerprint sensor with MQTT support based on Adafruit Fingerprint Sensor Library
GNU General Public License v3.0
24 stars 14 forks source link

No createModel in class Adafruit_Fingerprint #7

Closed PaulAntonDeen closed 4 years ago

PaulAntonDeen commented 4 years ago

When I compile I get the error:

/Users/username/Downloads/Fingerprint/fingerprint-mqtt-led-touch/fingerprint-mqtt-led-touch.ino: In function 'uint8_t getFingerprintEnroll()': fingerprint-mqtt-led-touch:342:14: error: 'class Adafruit_Fingerprint' has no member named 'createModel' p = finger.createModel(); ^ exit status 1 'class Adafruit_Fingerprint' has no member named 'createModel'

I can indeed not find that function in the version of AdaFruit_fingerprint that I am using. Could it be that it is renamed to loadModel?

PaulAntonDeen commented 4 years ago

Ignore, I accidentally overwrote the function declaration when pasting