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

Method turnPeripheralsOff

Devices/unphone/Source/UnPhoneFeatures.cpp:279–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void UnPhoneFeatures::turnPeripheralsOff() const {
280 setExpanderPower(false);
281 setBacklightPower(false);
282 setIrPower(false);
283 setRgbLed(false, false, false);
284 setVibePower(false);
285}
286
287bool UnPhoneFeatures::setShipping(bool on) const {
288 if (on) {

Callers 1

updatePowerSwitchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected