Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When loading the sparkfun_mpu-9250-dmp_arduino_library library with platformio, the min function was not found #41

Open
woody5418 opened this issue Mar 11, 2020 · 1 comment

Comments

@woody5418
Copy link

The problem has been solved by itself, and I would like to add the following macro definition to "/ SRC /util/inv_mpu.c", which is compatible with other platforms' support for this code.

#include <Arduino.h>
#ifndef min
#define min _min
#endif
#define MPU9250

@1larity
Copy link

1larity commented Nov 28, 2021

Thank you, resolved build issue on ESP32 for me.
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants