will the code work? No! why would it?
This commit is contained in:
parent
cf7565472e
commit
b31bc92627
|
|
@ -144,7 +144,7 @@ ResultAndArg poll_control_pipe() {
|
|||
printf("Set RDS to ");
|
||||
if(rds) printf("ON\n"); else printf("OFF\n");
|
||||
resarg.res = CONTROL_PIPE_RDS_SET;
|
||||
resarg.arg = rds;
|
||||
resarg.arg = (char)rds;
|
||||
}
|
||||
}
|
||||
return resarg;
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ int tx(uint32_t carrier_freq, char *audio_file, uint16_t pi, char *ps, char *rt,
|
|||
if(pollResult.res == CONTROL_PIPE_PS_SET) {
|
||||
varying_ps = 0;
|
||||
} else if(pollResult.res == CONTROL_PIPE_RDS_SET) {
|
||||
drds = pollResult.arg;
|
||||
drds = (int)pollResult.arg;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue