Skip to content

Conversation

@CrustyAuklet
Copy link

Changes to the WIN32 part of the code for MSVC (same as in I2CDriver repo):

  • added #define NOMINMAX macro to prevent windows from clashing with C++ use
  • make mm array fixed size and changed sprintf to snprintf
  • #include <unistd.h> only when not WIN32. MSVC doesn't have it and minGW doesn't need it.
  • == -> = fix

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

Successfully merging this pull request may close these issues.

1 participant