From ef92026253123815e4fd38b14d31c8e37ff3a0b4 Mon Sep 17 00:00:00 2001 From: Adelin Dobre Date: Wed, 10 Oct 2018 17:11:34 +0300 Subject: [PATCH] BNO055: Change parameter in example file Signed-off-by: Adelin Dobre Signed-off-by: Mihai Tudor Panu --- examples/c/bno055.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c/bno055.c b/examples/c/bno055.c index 3018594e..f28aff7a 100644 --- a/examples/c/bno055.c +++ b/examples/c/bno055.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) // Initialize a BNO055 using default parameters (bus 0, addr // 0x28). The default running mode is NDOF absolute orientation // mode. - bno055_context sensor = bno055_init(0, BNO055_DEFAULT_ADDR); + bno055_context sensor = bno055_init(0, BNO055_DEFAULT_ADDR, NULL); if (!sensor) {