Fix dbfs_level meter value not updating

This commit is contained in:
Mashintime 2023-10-05 22:32:34 -04:00
parent eb7122dc0f
commit df59c814f2
2 changed files with 3 additions and 3 deletions

View file

@ -145,7 +145,7 @@ function startStopRecordAudio() {
class="justify-content-center d-flex position-absolute w-100"
id="dbfs_level_value"
>
{{ state.dbfs_level_raw }} dBFS
{{ state.dbfs_level }} dBFS
</p>
</div>
<div

View file

@ -11,7 +11,7 @@ export const useStateStore = defineStore("stateStore", () => {
var rf_level = ref("10");
var bandwidth = ref("-");
var dbfs_level_percent = ref(0);
var dbfs_level_raw = ref(0);
var dbfs_level = ref(0);
var ptt_state = ref("False");
@ -117,7 +117,7 @@ export const useStateStore = defineStore("stateStore", () => {
frequency,
mode,
bandwidth,
dbfs_level_raw,
dbfs_level,
dbfs_level_percent,
speed_level,
fft,