implicit declaration of function

i have project app_ble_uart and i want add to it functin read from mpu6050 i add to Makefile Makefile pathes and add #include "mpu6050.h" and InitMPU6050(0x68); into main main.c but i have error

./../../main.c: In function 'main':
../../../main.c:653:5: error: implicit declaration of function 'InitMPU6050' [-Werror=implicit-function-declaration]
     InitMPU6050(0x68);
     ^~~~~~~~~~~
cc1.exe: all warnings being treated as errors
make: *** [_build/nrf52832_xxaa_main.c.o] Error 1
../../../../../../components/toolchain/gcc/Makefile.common:134: recipe for target '_build/nrf52832_xxaa_main.c.o' failed

What i do wrong?

Top Replies

Related