Skip to content

Commit

Permalink
Merge pull request #6937 from iNavFlight/dzikuvx-speedybeef4-rangefin…
Browse files Browse the repository at this point in the history
…der-i2c

Set correct I2C bus for rangefinders on SpeeedyBeedF4
  • Loading branch information
DzikuVx committed May 8, 2021
2 parents bdf6ce8 + 40c8eeb commit 3acaf59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/target/SPEEDYBEEF4/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,5 @@
#define TARGET_IO_PORTB 0xffff
#define TARGET_IO_PORTC 0xffff
#define TARGET_IO_PORTD (BIT(2))

#define RANGEFINDER_I2C_BUS BUS_I2C1

0 comments on commit 3acaf59

Please sign in to comment.