Skip to content

Commit f2a6900

Browse files
authored
use new changed SOC_HP_I2C_NUM
1 parent 9852009 commit f2a6900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Wire/src/Wire.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ class TwoWire : public HardwareI2C {
144144
};
145145

146146
extern TwoWire Wire;
147-
#if SOC_I2C_NUM > 1
147+
#if SOC_HP_I2C_NUM > 1
148148
extern TwoWire Wire1;
149-
#endif /* SOC_I2C_NUM */
149+
#endif /* SOC_HP_I2C_NUM */
150150

151151
#endif /* SOC_I2C_SUPPORTED */
152152
#endif /* TwoWire_h */

0 commit comments

Comments
 (0)