MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getLastBusIndex

Method getLastBusIndex

Tactility/Source/app/i2cscanner/I2cScanner.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89int32_t I2cScannerApp::getLastBusIndex() {
90 auto prefs = Preferences("i2c_scanner");
91 int32_t index = 0;
92 prefs.optInt32(PREFERENCES_BUS_INDEX_KEY, index);
93 return index;
94}
95
96// region Lifecycle
97

Callers

nothing calls this directly

Calls 2

PreferencesClass · 0.85
optInt32Method · 0.45

Tested by

no test coverage detected