sparkfun / SparkFun_VL53L1X_Arduino_Library

A library for the laser based VL53L1X Time Of Flight distance sensor capable of detecting a target 4m away!
MIT License
88 stars 50 forks source link

Type mismatch #21

Closed matthias-mueller closed 5 years ago

matthias-mueller commented 5 years ago

https://github.com/sparkfun/SparkFun_VL53L1X_Arduino_Library/blob/1773c55cb9fe2427d5f6ceef2aaf080b380fc88f/src/SparkFun_VL53L1X.cpp#L228

should be

int16_t temp;

according to the return type of the wrapped class.

AndyEngland521 commented 5 years ago

Good catch, fixed and pushed, check out v1.1.1