kopia lustrzana https://github.com/OpenRTX/OpenRTX
Voice prompts: fixed extra leading zero when announcing the kHz part of a frequency
rodzic
185d3f1a22
commit
27d04aab2b
|
@ -93,7 +93,7 @@ void vp_queueFrequency(const freq_t freq)
|
|||
{
|
||||
char buffer[16];
|
||||
int MHz = (freq / 1000000);
|
||||
int kHz = ((freq % 1000000) / 100);
|
||||
int kHz = ((freq % 1000000) / 10);
|
||||
|
||||
sniprintf(buffer, 16, "%d.%05d", MHz, kHz);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue