arduino-libraries / Arduino_BMI270_BMM150

GNU Lesser General Public License v2.1
19 stars 13 forks source link

arduino is not declared error #22

Closed EmreAkkoc closed 1 year ago

EmreAkkoc commented 1 year ago
In file included from /home/hu/Arduino/libraries/Arduino_BMI270_BMM150/src/Arduino_BMI270_BMM150.h:23:0,
                 from /tmp/.arduinoIDE-unsaved2023218-79256-177af8o.lu7x/sketch_mar18a/sketch_mar18a.ino:1:
/home/hu/Arduino/libraries/Arduino_BMI270_BMM150/src/BoschSensorClass.h:38:16: error: 'arduino' has not been declared
     void debug(arduino::Stream&);
                ^~~~~~~
/home/hu/Arduino/libraries/Arduino_BMI270_BMM150/src/BoschSensorClass.h:38:31: error: expected ',' or '...' before '&' token
     void debug(arduino::Stream&);
                               ^

exit status 1

Compilation error: exit status 1

I am getting arduino not declared error, any possible cause?