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 a480e71 commit 5989586Copy full SHA for 5989586
src/Flux/spSpark.cpp
@@ -65,9 +65,14 @@ bool flxFlux::start()
65
66
writeBanner();
67
68
+ // Init the I2c bus - 3/2024 - found that the bus wasn't initialized and
69
+ // auto-load wasn't called, wifi wouldn't connect -- related to i2c bus being *on*?
70
+
71
+ flxBusI2C thei2cBus = i2cDriver();
72
73
// Build drivers for the registered devices connected to the system
74
if (_deviceAutoload)
- flxDeviceFactory::get().buildDevices(i2cDriver());
75
+ flxDeviceFactory::get().buildDevices(thei2cBus);
76
77
if (_theApplication)
78
_theApplication->onDeviceLoad();
0 commit comments