MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / set_primary_led_status

Method set_primary_led_status

OpenHD/ohd_common/src/openhd_led.cpp:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void openhd::LEDManager::set_primary_led_status(int status) {
159 const bool on = status != STATUS_ON;
160 toggle_primary_led(on);
161}
162
163openhd::LEDManager::LEDManager()
164 : m_loading_thread(nullptr),

Callers

nothing calls this directly

Calls 1

toggle_primary_ledFunction · 0.85

Tested by

no test coverage detected