int and float
This commit is contained in:
parent
856ecf78d9
commit
95f714e1d2
|
|
@ -200,7 +200,7 @@ int tx(uint32_t carrier_freq, char *audio_file, uint16_t pi, char *ps, char *rt,
|
||||||
} else if(pollResult.res == CONTROL_PIPE_STEREO_SET) {
|
} else if(pollResult.res == CONTROL_PIPE_STEREO_SET) {
|
||||||
disablestereo = (int)pollResult.arg;
|
disablestereo = (int)pollResult.arg;
|
||||||
} else if(pollResult.res == CONTROL_PIPE_GAIN_SET) {
|
} else if(pollResult.res == CONTROL_PIPE_GAIN_SET) {
|
||||||
gaim = (int)pollResult.arg;
|
gaim = stof(pollResult.arg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue