Skip to content

Commit 8e7971d

Browse files
committed
Added comment with configured ODR
1 parent 54ccabb commit 8e7971d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fw/l3g4200d.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gyro_data_t gyro_data =
3232
int init_l3g4200d(SPIDriver *spip) {
3333

3434
l3g4200dReadRegister(spip, L3G4200D_WHO_AM_I);
35-
l3g4200dWriteRegister(spip, L3G4200D_CTRL_REG1, 0x7F);
35+
l3g4200dWriteRegister(spip, L3G4200D_CTRL_REG1, 0x7F); /* 200 Hz */
3636
l3g4200dWriteRegister(spip, L3G4200D_CTRL_REG2, 0x00);
3737
l3g4200dWriteRegister(spip, L3G4200D_CTRL_REG3, 0x08);
3838
l3g4200dWriteRegister(spip, L3G4200D_CTRL_REG4, 0x10);

0 commit comments

Comments
 (0)