diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-07-16 12:46:23 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-07-16 12:46:23 +0200 |
commit | c8aca814ca4bff633dfd4a8341c08a2d4b8074fa (patch) | |
tree | 411a74f848b582572084da306fbbc3ec6a06cbe9 | |
parent | 6902177b997906dc0003adc9e8210d1901f3dafc (diff) | |
download | px4-firmware-c8aca814ca4bff633dfd4a8341c08a2d4b8074fa.tar.gz px4-firmware-c8aca814ca4bff633dfd4a8341c08a2d4b8074fa.tar.bz2 px4-firmware-c8aca814ca4bff633dfd4a8341c08a2d4b8074fa.zip |
Improved comments
-rw-r--r-- | src/drivers/l3gd20/l3gd20.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/l3gd20/l3gd20.cpp b/src/drivers/l3gd20/l3gd20.cpp index 28d6397c9..a9af6711b 100644 --- a/src/drivers/l3gd20/l3gd20.cpp +++ b/src/drivers/l3gd20/l3gd20.cpp @@ -351,7 +351,7 @@ L3GD20::probe() /* read dummy value to void to clear SPI statemachine on sensor */ (void)read_reg(ADDR_WHO_AM_I); - /* verify that the device is attached and functioning */ + /* verify that the device is attached and functioning, accept L3GD20 and L3GD20H */ if (read_reg(ADDR_WHO_AM_I) == WHO_I_AM || read_reg(ADDR_WHO_AM_I) == WHO_I_AM_H) return OK; |