AP_Compass: enable temperature on lsm303d

This commit is contained in:
Andrew Tridgell 2021-01-09 09:24:19 +11:00 committed by Peter Barker
parent c0ba7c29ca
commit 0c156e324b

View File

@ -124,7 +124,7 @@ extern const AP_HAL::HAL &hal;
#define REG5_ENABLE_T (1<<7)
#define REG5_RES_HIGH_M ((1<<6) | (1<<5))
#define REG5_RES_HIGH_M ((1<<6) | (1<<5) | (1<<7))
#define REG5_RES_LOW_M ((0<<6) | (0<<5))
#define REG5_RATE_BITS_M ((1<<4) | (1<<3) | (1<<2))