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

Function initBoot

Devices/lilygo-thmi/Source/Init.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool initBoot() {
35 ESP_LOGI(TAG, "Powering on the board...");
36 if (!powerOn()) {
37 ESP_LOGE(TAG, "Failed to power on the board.");
38 return false;
39 }
40
41 if (!driver::pwmbacklight::init(DISPLAY_BL, 30000)) {
42 ESP_LOGE(TAG, "Failed to initialize backlight.");
43 return false;
44 }
45
46 return true;
47}

Callers

nothing calls this directly

Calls 2

powerOnFunction · 0.70
initFunction · 0.50

Tested by

no test coverage detected