diff --git a/openrtx/src/core/voicePromptUtils.c b/openrtx/src/core/voicePromptUtils.c index ca12f53c..65c5f7a5 100644 --- a/openrtx/src/core/voicePromptUtils.c +++ b/openrtx/src/core/voicePromptUtils.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include "interfaces/cps_io.h" @@ -253,7 +254,8 @@ void vp_announceChannelSummary(const channel_t* channel, } addSilenceIfNeeded(localFlags); - vp_anouncePower(channel->power, localFlags); + float power = dBmToWatt(channel->power); + vp_anouncePower(power, localFlags); addSilenceIfNeeded(localFlags); if (channelNumber > 0) // i.e. not called from VFO. diff --git a/openrtx/src/ui/ui.c b/openrtx/src/ui/ui.c index d1b35709..28f24afa 100644 --- a/openrtx/src/ui/ui.c +++ b/openrtx/src/ui/ui.c @@ -76,6 +76,7 @@ #include #include #include +#include #include #include @@ -918,7 +919,8 @@ static void _ui_fsm_menuMacro(kbd_msg_t msg, bool *sync_rtx) else state.channel.power = 100; *sync_rtx = true; - vp_anouncePower(state.channel.power, queueFlags); + float power = dBmToWatt(state.channel.power); + vp_anouncePower(power, queueFlags); break; break; case 7: