You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fyne-ui: waterfall on/off toggle with CGo direct call and config persistence
- C side:
- New ui_comm_set_waterfall() in ui_communication.c; set_waterfall
command handler delegates to it. Persists enabled state to
mercury.ini so the choice survives restarts.
- New mercury_ui_set_waterfall() bridge function, exposed to Go via
CGo for direct access without the generic command dispatch.
- Fixed the set_waterfall handler nesting (was inside the radio
config block).
- Go side:
- engineLink.SetWaterfall() calls the bridge directly (no websocket,
no strcmp dispatch). Stub (non-embedded) has a no-op fallback.
- Waterfall toggle checkbox in Settings > Waterfall uses the direct
CGo path when the embedded engine is active; remote links still
fall back to sendWSCommand.
- waterfallCard visibility bound to telemetry.Waterfall: when the
engine reports waterfall disabled, the spectrum/waterfall card
vanishes from the layout; toggling on brings it back.
0 commit comments