We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecc3ba commit 9be30a9Copy full SHA for 9be30a9
src/SparkFun_External_EEPROM.h
@@ -54,6 +54,12 @@
54
#define I2C_BUFFER_LENGTH_RX I2C_BUFFER_LENGTH
55
#define I2C_BUFFER_LENGTH_TX I2C_BUFFER_LENGTH
56
57
+#elif defined(STM32)
58
59
+
60
+#define I2C_BUFFER_LENGTH_RX BUFFER_LENGTH //BUFFER_LENGTH is defined in Wire.h for STM32
61
+#define I2C_BUFFER_LENGTH_TX BUFFER_LENGTH
62
63
#else
64
65
#pragma GCC error "This platform doesn't have a wire buffer size defined. Please contribute to this library!"
0 commit comments