Skip to content

Commit

Permalink
bugfix - had transposed bytes for ADXL345_POWER_CTL register
Browse files Browse the repository at this point in the history
  • Loading branch information
Alon Levy committed Sep 3, 2010
1 parent 3028a66 commit 23adb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juggled/adxl345.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// CHB_SPI registers

// Power Control register
#define ADXL345_POWER_CTL 0xd2
#define ADXL345_POWER_CTL 0x2d

// Bit masks for the POWER_CTL register
#define ADXL345_MEASURE (1<<3)
Expand Down

0 comments on commit 23adb06

Please sign in to comment.