/* * probe.c -- OreBolt OS v1.4 module: probe * * SPDX-License-Identifier: GPL-2.0-or-later * * Network and USB probe / enumerator. * * v1.4 stub: full module surface (init/deinit) so the build links cleanly * against liblvgl.so. Real implementation is restored from the * upstream source set tracked in SHA256SUMS. */ #include "h2_ui.h" #include "log_manager.h" static lv_obj_t *probe_screen = NULL; void probe_init(lv_obj_t *parent) { probe_screen = lv_obj_create(parent); lv_obj_set_size(probe_screen, H2_LCD_WIDTH - 4, H2_LCD_HEIGHT - 4); lv_obj_center(probe_screen); lv_obj_t *lbl = lv_label_create(probe_screen); lv_label_set_text(lbl, "probe\nv1.4 (stub)"); lv_obj_center(lbl); LOG_INF("probe init"); } void probe_deinit(void) { if (probe_screen) { lv_obj_del(probe_screen); probe_screen = NULL; } LOG_INF("probe deinit"); }