We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c27106f + 0248c6c commit a0146fcCopy full SHA for a0146fc
1 file changed
src/vl53l8cx.h
@@ -179,6 +179,7 @@ class VL53L8CX {
179
*(p_values + i + position) = dev_spi->transfer(0x00);
180
}
181
digitalWrite(cs_pin, HIGH);
182
+ dev_spi->endTransaction();
183
184
return 0;
185
@@ -248,6 +249,7 @@ class VL53L8CX {
248
249
digitalWrite(cs_pin, LOW);
250
dev_spi->transfer(&data_write, data_size);
251
252
253
254
return status;
255
0 commit comments