| 255 | #endif |
| 256 | |
| 257 | static 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 | |
| 262 | static void addDevices(lv_obj_t* parent) { |
| 263 | auto devices = hal::getDevices(); |