Skip to content

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

Description

@woody5418

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions