Skip to content

Commit

Permalink
icm42670p run at full speed
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored and julianoes committed Sep 6, 2022
1 parent e7d1896 commit 26f912e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static constexpr uint8_t Bit5 = (1 << 5);
static constexpr uint8_t Bit6 = (1 << 6);
static constexpr uint8_t Bit7 = (1 << 7);

static constexpr uint32_t SPI_SPEED = 12 * 1000 * 1000; // 24 MHz SPI
static constexpr uint32_t SPI_SPEED = 24 * 1000 * 1000; // 24 MHz SPI
static constexpr uint8_t DIR_READ = 0x80;

static constexpr uint8_t WHOAMI = 0x67;
Expand Down

0 comments on commit 26f912e

Please sign in to comment.