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 a7c1106 commit 59d4adeCopy full SHA for 59d4ade
examples/Unit/PbHUB/porthub.cpp
@@ -46,7 +46,7 @@ uint8_t PortHub::hub_d_read_value_B(uint8_t reg) {
46
Wire.write(reg | 0x05);
47
Wire.endTransmission();
48
49
- uint8_t RegValue;
+ uint8_t RegValue = 0;
50
51
Wire.requestFrom(_iic_addr, 1);
52
while (Wire.available()) {
0 commit comments