Improved comments

This commit is contained in:
Lorenz Meier 2013-07-16 12:46:23 +02:00
parent 6902177b99
commit c8aca814ca
1 changed files with 1 additions and 1 deletions

View File

@ -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;