FreeTRX/MDUV380_firmware/application/source
Marcus Kida 009d3f7bdf S-meter: segmented block bar with S-level labels (colour displays)
Rework the header RSSI bar (uiUtilityDrawRSSIBarGraph) from a solid two-stage
bar into discrete blocks, one per S-level, on colour displays:

- 9 green blocks for S1..S9 (4 dB per S-unit) plus 6 red blocks for the S9+
  region (10 dB per block, S9+10..S9+60), drawn with 2 px gaps so the header
  background shows between them.
- Proportional fill: full blocks below the level, leading block partially filled
  to reflect the exact signal.
- Bar height raised 4 -> 6 px; the FM/DMR mic-level bars follow the same height
  so nothing is left behind when switching RX <-> TX.
- Scale labels below the blocks: S1/S3/S5/S7/S9 under the green zone and
  +20/+40/+60 under the red, centred under their blocks (font_6x8). The label
  row is blanked while transmitting.

Monochrome displays keep the original solid bar. Existing analog S9+ RSSI
compression is preserved, so calibration is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 11:58:46 +02:00
..
dmr_codec Fix DMR hang: call AMBE codec via C function pointers, not inline asm 2026-07-06 11:14:06 +02:00
functions Initial Commit 2026-07-06 08:45:33 +02:00
hardware Initial Commit 2026-07-06 08:45:33 +02:00
interfaces Initial Commit 2026-07-06 08:45:33 +02:00
io Initial Commit 2026-07-06 08:45:33 +02:00
linkerdata Initial Commit 2026-07-06 08:45:33 +02:00
usb Initial Commit 2026-07-06 08:45:33 +02:00
user_interface S-meter: segmented block bar with S-level labels (colour displays) 2026-07-06 11:58:46 +02:00
applicationMain.c Initial Commit 2026-07-06 08:45:33 +02:00