[contestia] centre channel correctly

main-solar-only
Richard Meadows 2015-12-19 21:30:58 +00:00
rodzic 185a1685ea
commit 138ca44ea7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ void contestia_set_tone(uint8_t tone) {
/* Align this to a channel */
int16_t channel = tone - (CONTESTIA_NUMBER_OF_TONES / 2);
si_trx_switch_channel(channel * CONTESTIA_CHANNEL_SPACING);
si_trx_switch_channel((channel * CONTESTIA_CHANNEL_SPACING)+(CONTESTIA_CHANNEL_SPACING/2));
}
/**