We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In case if ESP32, for example, the I2C_BUFFER_LENGTH is 128, and in that case you set it to 32 in this line:
SparkFun_MAX3010x_Sensor_Library/src/MAX30105.h
Line 42 in d625b7e
Maybe you should consider, instead of #else ==>"#define I2C_BUFFER_LENGTH 32" doing something like #else #ifndef I2C_BUFFER_LENGTH #define I2C_BUFFER_LENGTH 32 #endif #endif
so in the example of ESP32, where I2C_BUFFER_LENGTH is alreade defined to 128, will not interfere
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In case if ESP32, for example, the I2C_BUFFER_LENGTH is 128, and in that case you set it to 32 in this line:
SparkFun_MAX3010x_Sensor_Library/src/MAX30105.h
Line 42 in d625b7e
Maybe you should consider, instead of #else ==>"#define I2C_BUFFER_LENGTH 32"
doing something like
#else
#ifndef I2C_BUFFER_LENGTH
#define I2C_BUFFER_LENGTH 32
#endif
#endif
so in the example of ESP32, where I2C_BUFFER_LENGTH is alreade defined to 128, will not interfere
The text was updated successfully, but these errors were encountered: