forked from Archive/PX4-Autopilot
Changed I2C bus for blinkm, tested on fmuv2
This commit is contained in:
parent
c558ad15ab
commit
4ccf252b76
|
@ -92,6 +92,7 @@
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#include <arch/board/board.h>
|
||||||
#include <drivers/device/i2c.h>
|
#include <drivers/device/i2c.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -841,7 +842,7 @@ int
|
||||||
blinkm_main(int argc, char *argv[])
|
blinkm_main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
||||||
int i2cdevice = 3;
|
int i2cdevice = PX4_I2C_BUS_EXPANSION;
|
||||||
int blinkmadr = 9;
|
int blinkmadr = 9;
|
||||||
|
|
||||||
int x;
|
int x;
|
||||||
|
|
Loading…
Reference in New Issue