AP_RangeFinder_PulsedLightLRF: Updated the value to write to the register to trigger a measurement
This commit is contained in:
parent
5f4168d5f8
commit
2e586ccfb2
@ -36,7 +36,7 @@
|
|||||||
#define AP_RANGEFINDER_PULSEDLIGHTLRF_DISTLOW_REG 0x10 // low byte of distance measurement
|
#define AP_RANGEFINDER_PULSEDLIGHTLRF_DISTLOW_REG 0x10 // low byte of distance measurement
|
||||||
|
|
||||||
// command register values
|
// 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
|
class AP_RangeFinder_PulsedLightLRF : public RangeFinder
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user