File tree 1 file changed +12
-11
lines changed
1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -71,17 +71,18 @@ uint8_t BME280::begin()
71
71
72
72
case I2C_MODE:
73
73
74
- switch (_wireType)
75
- {
76
- case (HARD_WIRE):
77
- _hardPort->begin (); // The caller can begin their port and set the speed. We just confirm it here otherwise it can be hard to debug.
78
- break ;
79
- case (SOFT_WIRE):
80
- #ifdef SoftwareWire_h
81
- _softPort->begin (); // The caller can begin their port and set the speed. We just confirm it here otherwise it can be hard to debug.
82
- #endif
83
- break ;
84
- }
74
+ // Removing port begin from library. This should be done by user otherwise this library will overwrite Wire settings such as clock speed.
75
+ // switch(_wireType)
76
+ // {
77
+ // case(HARD_WIRE):
78
+ // _hardPort->begin(); //The caller can begin their port and set the speed. We just confirm it here otherwise it can be hard to debug.
79
+ // break;
80
+ // case(SOFT_WIRE):
81
+ // #ifdef SoftwareWire_h
82
+ // _softPort->begin(); //The caller can begin their port and set the speed. We just confirm it here otherwise it can be hard to debug.
83
+ // #endif
84
+ // break;
85
+ // }
85
86
break ;
86
87
87
88
case SPI_MODE:
You can’t perform that action at this time.
0 commit comments