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

Function addDevice

Tactility/Source/app/systeminfo/SystemInfo.cpp:257–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255#endif
256
257static void addDevice(lv_obj_t* parent, const std::shared_ptr<hal::Device>& device) {
258 auto* label = lv_label_create(parent);
259 lv_label_set_text(label, device->getName().c_str());
260}
261
262static void addDevices(lv_obj_t* parent) {
263 auto devices = hal::getDevices();

Callers 1

addDevicesFunction · 0.85

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected