Voice prompts: fixed extra leading zero when announcing the kHz part of a frequency

pull/301/head
Silvano Seva 2024-12-26 16:59:18 +01:00
rodzic 185d3f1a22
commit 27d04aab2b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);