MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / ~UnPhoneFeatures

Method ~UnPhoneFeatures

Devices/unphone/Source/UnPhoneFeatures.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61UnPhoneFeatures::~UnPhoneFeatures() {
62 if (buttonHandlingThread.getState() != tt::Thread::State::Stopped) {
63 buttonHandlingThreadInterruptRequest = true;
64 buttonHandlingThread.join();
65 }
66}
67
68bool UnPhoneFeatures::initPowerSwitch() {
69 gpio_config_t config = {

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
getStateMethod · 0.45

Tested by

no test coverage detected