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

Function initBoot

Devices/m5stack-stickc-plus/Source/Configuration.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using namespace tt::hal;
8
9static bool initBoot() {
10 // CH552 applies 4 V to GPIO 0, which reduces Wi-Fi sensitivity
11 // Setting output to high adds a bias of 3.3 V and suppresses over-voltage:
12 gpio::configure(0, gpio::Mode::Output, false, false);
13 gpio::setLevel(0, true);
14
15 return initAxp();
16}
17
18static DeviceVector createDevices() {
19 return {

Callers

nothing calls this directly

Calls 3

setLevelFunction · 0.85
configureFunction · 0.50
initAxpFunction · 0.50

Tested by

no test coverage detected