Commit: 60340a736c508f33a2c76a428336176b0e566d6f
Parent: 851731ccf607c0d1f73cdf1c1ec56c588f8a28ff
Author: Randy Palamar
Date: Sat, 26 Jul 2025 18:06:20 -0600
ui: fix incorrect max value for center frequency
at somepoint this got changed to 100 micro Hz which meant that
whenever the user tried to modify it it would clamp to that.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui.c b/ui.c
@@ -1124,7 +1124,7 @@ add_beamformer_parameters_view(Variable *parent, BeamformerCtx *ctx)
&bp->sampling_frequency, (v2){0}, 1e-6f, 0, 0, ui->font);
add_beamformer_variable(ui, group, &ui->arena, s8("Center Frequency:"), s8("[MHz]"),
- &bp->center_frequency, (v2){.y = 100e-6f}, 1e-6f, 1e5f,
+ &bp->center_frequency, (v2){.y = 100e6f}, 1e-6f, 1e5f,
V_INPUT|V_TEXT|V_CAUSES_COMPUTE, ui->font);
add_beamformer_variable(ui, group, &ui->arena, s8("Speed of Sound:"), s8("[m/s]"),