send_resp(client->fd,reply) ;
} else if(command[15]==';') {
long long f=atoll(&command[4]);
- local_set_frequency(VFO_A,f);
+ set_frequency(VFO_A,f);
vfo_update();
}
break;
send_resp(client->fd,reply) ;
} else if(command[15]==';') {
long long f=atoll(&command[4]);
- local_set_frequency(VFO_B,f);
+ set_frequency(VFO_B,f);
vfo_update();
}
break;
send_resp(client->fd,reply) ;
} else if(command[5]==';') {
int val=atoi(&command[4]);
- ext_set_split(GINT_TO_POINTER(val));
+ set_split(val);
}
break;
case 'R': //ZZSR
send_resp(client->fd,reply) ;
} else if(command[5]==';') {
int val=atoi(&command[4]);
- ext_set_split(GINT_TO_POINTER(val));
+ set_split(val);
}
break;
case 'Y': //ZZSY
send_resp(client->fd,reply) ;
} else if(command[13]==';') {
long long f=atoll(&command[2]);
- local_set_frequency(VFO_A,f);
+ set_frequency(VFO_A,f);
vfo_update();
}
break;
send_resp(client->fd,reply) ;
} else if(command[13]==';') {
long long f=atoll(&command[2]);
- local_set_frequency(VFO_B,f);
+ set_frequency(VFO_B,f);
vfo_update();
}
break;
send_resp(client->fd,reply) ;
} else if(command[3]==';') {
int val=atoi(&command[2]);
- ext_set_split(GINT_TO_POINTER(val));
+ set_split(val);
}
break;
case 'W': //FW