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

Function enable

Tactility/Source/service/espnow/EspNow.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static const auto LOGGER = Logger("EspNow");
15
16void enable(const EspNowConfig& config) {
17 auto service = findService();
18 if (service != nullptr) {
19 service->enable(config);
20 } else {
21 LOGGER.error("Service not found");
22 }
23}
24
25void disable() {
26 auto service = findService();

Callers 1

enableEspNowMethod · 0.85

Calls 3

enableMethod · 0.80
errorMethod · 0.80
findServiceFunction · 0.70

Tested by

no test coverage detected