summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/l3gd20.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/l3gd20.h b/drivers/l3gd20.h
index 0113792..f305de1 100644
--- a/drivers/l3gd20.h
+++ b/drivers/l3gd20.h
@@ -20,7 +20,7 @@ class L3GD20 {
spi.reg.CR1 = 0x37f;
cs.off();
spi.transfer_byte(0x40 | 0x20);
- spi.transfer_byte(0x0f);
+ spi.transfer_byte(0xff);
cs.on();
}