pololu / vl53l0x-arduino

Pololu Arduino library for VL53L0X time-of-flight distance sensor
https://www.pololu.com/product/2490
Other
345 stars 163 forks source link

fixed typo in register mod #7

Closed tridge closed 7 years ago

ethanwu10 commented 7 years ago

:+1: Patch is correct based on ST API source V1.0.2 vl53l0x_api_core.c L398-9:

Status |= VL53L0X_RdByte(Dev, 0x83, &byte);
Status |= VL53L0X_WrByte(Dev, 0x83, byte&0xfb);
kevin-pololu commented 7 years ago

Thanks for catching that!