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

Function initBoot

Devices/m5stack-cores3/Source/InitBoot.cpp:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146bool initBoot() {
147 LOGGER.info("initBoot()");
148
149 auto controller = device_find_by_name("i2c_internal");
150 axp2101 = std::make_shared<Axp2101>(controller);
151 aw9523 = std::make_shared<Aw9523>(controller);
152
153 return initPowerControl() && initGpioExpander();
154}

Callers

nothing calls this directly

Calls 4

device_find_by_nameFunction · 0.85
infoMethod · 0.80
initPowerControlFunction · 0.70
initGpioExpanderFunction · 0.70

Tested by

no test coverage detected