kopia lustrzana https://github.com/bristol-seds/pico-tracker
[contestia] centre channel correctly
rodzic
185a1685ea
commit
138ca44ea7
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue