int and float

This commit is contained in:
Kuba 2023-10-31 15:01:29 +00:00
parent 856ecf78d9
commit 95f714e1d2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
} }