Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Check_VL6180XA1_ToF
Fork of X_NUCLEO_6180XA1 by
Diff: Components/VL6180X/vl6180x_class.cpp
- Revision:
- 29:6d6b67e2e212
- Parent:
- 28:7c9031e96c22
- Child:
- 38:18abb7f7dcb2
diff -r 7c9031e96c22 -r 6d6b67e2e212 Components/VL6180X/vl6180x_class.cpp
--- a/Components/VL6180X/vl6180x_class.cpp Thu Nov 05 17:20:03 2015 +0100
+++ b/Components/VL6180X/vl6180x_class.cpp Fri Nov 06 08:39:27 2015 +0100
@@ -2689,10 +2689,7 @@
RawThreshLow=*(uint16_t*)p_low;
p_high=&RawAlsHigh;
RawThreshHigh=*(uint16_t*)p_high;
- //return VL6180x_AlsSetThresholds(Device, RawThreshLow, RawThreshHigh);
- VL6180x_AlsSetThresholds(Device, RawThreshLow, RawThreshHigh);
- VL6180x_RdWord(Device, SYSALS_THRESH_HIGH, &RawThreshLow);
- VL6180x_RdWord(Device, SYSALS_THRESH_LOW, &RawThreshHigh);
+ return VL6180x_AlsSetThresholds(Device, RawThreshLow, RawThreshHigh);
}
