summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-03-06 16:55:37 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-03-06 16:56:38 +0100
commit9926e0ac414371bcaea5302a50715bd631267fcf (patch)
tree70125e6d6c692a96f5b0dbece31018c8fa9d7efb
parent72d033de0fb016128144cd889e4849e784daa83b (diff)
Set L3GD20 to max bandwidth.
-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();
}