mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
l3gd20: add l3gd20h chipid to ctor check as well
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -35,6 +35,8 @@
|
||||
// if SDO tied to GND
|
||||
#define L3GD20_DEFAULT_I2C_ADDR 0x6a
|
||||
#define L3GD20_DEFAULT_CHIP_ID 0xd4
|
||||
// the 'H' variant uses a different chip id
|
||||
#define L3GD20H_DEFAULT_CHIP_ID 0xd7
|
||||
|
||||
namespace upm
|
||||
{
|
||||
|
Reference in New Issue
Block a user