AP_RangeFinder_PulsedLightLRF: Updated the value to write to the register to trigger a measurement

This commit is contained in:
akdslr 2014-04-30 13:50:12 -04:00 committed by Andrew Tridgell
parent 5f4168d5f8
commit 2e586ccfb2

View File

@ -36,7 +36,7 @@
#define AP_RANGEFINDER_PULSEDLIGHTLRF_DISTLOW_REG 0x10 // low byte of distance measurement
// command register values
#define AP_RANGEFINDER_PULSEDLIGHTLRF_MSRREG_ACQUIRE 0x61
#define AP_RANGEFINDER_PULSEDLIGHTLRF_MSRREG_ACQUIRE 0x04 // Varies based on sensor revision, 0x04 is newest, 0x61 is older
class AP_RangeFinder_PulsedLightLRF : public RangeFinder
{