Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion protocol2.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ void protocol2_high_priority() {
long long txFrequency;
long phase;
int mode;
static unsigned char lastOCrx=0;

if(data_socket==-1) {
return;
Expand Down Expand Up @@ -579,7 +580,8 @@ g_print("protocol2_high_priority: band=%d %s level=%d\n",radio->transmitter->rx-
}
} else {
band=band_get_band(radio->transmitter->rx->band_a);
high_priority_buffer_to_radio[1401]=band->OCrx<<1;
if(band->OCrx!=0)lastOCrx=band->OCrx;
high_priority_buffer_to_radio[1401]=lastOCrx<<1;
}
/*
if(radio->discovered->device==NEW_DEVICE_ATLAS) {
Expand Down