Files
mayhem-firmware/firmware/application
Arne Luehrs c7a0846645 EPIRB RX: add receiver-overload indicator on channel bar (#3212)
* EPIRB RX: add receiver-overload indicator on channel bar

Tint the channel-power bar red when the front-end overloads (ADC near
full scale). EPIRB demodulation relies on the constant-envelope carrier
and the +/-1.1 rad biphase phase jumps; ADC clipping distorts both, so a
visible cue to reduce RF-amp/LNA/VGA gain is useful.

Implemented in the shared ui::Channel widget via an opt-in
set_overload_threshold(): when the last ChannelStatistics max_db reaches
the threshold the bar is drawn red instead of blue. Default threshold is
above the 0 dBFS ceiling, so all existing users are unaffected. The
EPIRB view enables it at -3 dBFS.

Done in the widget (main firmware) rather than the EPIRB app because the
epirb_rx external app is already at the 32 KB flash limit; the app only
pays for a single setter call.
2026-06-11 11:10:23 +02:00
..
2026-01-08 10:34:05 +01:00
2026-05-30 01:49:49 +02:00
2025-12-14 11:26:21 +01:00
2025-12-14 11:26:21 +01:00
2026-03-12 22:05:42 +13:00
2026-03-12 22:05:42 +13:00
2026-02-24 11:23:41 +01:00
2026-05-09 12:23:43 +02:00
2025-12-14 11:26:21 +01:00
2024-11-22 09:54:34 +01:00
2026-05-10 00:08:05 +02:00
2025-04-11 10:46:04 +00:00
2023-12-17 17:20:35 +01:00
2024-11-08 11:46:27 +01:00
2024-11-08 11:46:27 +01:00
2026-02-24 11:23:41 +01:00
2026-01-30 17:18:13 +01:00
2026-02-12 12:41:12 +01:00
2026-01-16 09:57:45 +01:00
2026-01-16 09:57:45 +01:00
2024-11-19 17:16:37 +01:00
2024-11-19 17:16:37 +01:00
2026-02-24 11:23:41 +01:00
2025-11-26 19:13:21 +01:00
2026-04-30 15:00:19 +02:00
2026-02-24 11:23:41 +01:00
2025-09-01 11:50:46 +02:00
2026-02-24 11:23:41 +01:00
2024-11-22 09:54:34 +01:00
2024-11-22 09:54:34 +01:00
2026-05-30 01:49:49 +02:00
2026-04-30 15:00:19 +02:00
2026-04-30 15:00:19 +02:00
2026-04-30 15:00:19 +02:00
2023-12-17 17:20:35 +01:00
2023-12-17 17:20:35 +01:00
2026-02-24 11:23:41 +01:00
2024-11-08 11:46:27 +01:00
2026-05-30 01:49:49 +02:00
2026-05-30 01:49:49 +02:00
2026-05-30 01:49:49 +02:00