mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-12 22:59:06 +00:00
e5c11d6473
* feat(ui): add runtime English and Chinese localization * fix(meshtastic): harden t-deck send and ack recovery Align the T-Deck SX1262 setup with the reference firmware, switch critical radio SPI paths to blocking access, and share RX restart state between direct send paths and the radio task so TX-to-RX handoff cannot silently get stuck. Also unify Meshtastic wire transmission through a single helper, keep wire packets for ACK-tracked sends, retry ACK timeouts up to three times, and document the issue #21 repair checklist. Validation: local builds passed for tdeck, tlora_pager_sx1262, lilygo_twatch_s3, and gat562_mesh_evb_pro; clang-format check passed. Testing status: not fully tested on hardware yet. * Refactor LXMF runtime toward full Reticulum alignment Split adapter runtime state into transport, link, and propagation domains. Add pending path request tracking, stronger link teardown semantics, outbound link establishment, deferred link payload flushing, link keepalive/stale handling, and inbound split-resource assembly. Document the authoritative Reticulum/LXMF runtime alignment plan and mark the older device-mode plan as historical context. * feat(web): add pages site and web flasher release flow
38 lines
720 B
C++
38 lines
720 B
C++
#pragma once
|
|
|
|
#include "lvgl.h"
|
|
|
|
#include "ui/menu/menu_layout.h"
|
|
|
|
namespace ui::menu::dashboard
|
|
{
|
|
|
|
#if defined(TRAIL_MATE_ESP_BOARD_TAB5) || defined(TRAIL_MATE_ESP_BOARD_T_DISPLAY_P4)
|
|
void init(lv_obj_t* menu_panel, lv_obj_t* grid_panel, const ui::menu_layout::InitOptions& options);
|
|
void bringToFront();
|
|
void refresh_localized_text();
|
|
void setActive(bool active);
|
|
#else
|
|
inline void init(lv_obj_t* menu_panel, lv_obj_t* grid_panel, const ui::menu_layout::InitOptions& options)
|
|
{
|
|
(void)menu_panel;
|
|
(void)grid_panel;
|
|
(void)options;
|
|
}
|
|
|
|
inline void bringToFront()
|
|
{
|
|
}
|
|
|
|
inline void refresh_localized_text()
|
|
{
|
|
}
|
|
|
|
inline void setActive(bool active)
|
|
{
|
|
(void)active;
|
|
}
|
|
#endif
|
|
|
|
} // namespace ui::menu::dashboard
|