mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Make wsprsim.c accept non-integer SNR
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8392 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b7543dce08
commit
d79e413da5
@ -151,7 +151,8 @@ int main(int argc, char *argv[])
|
||||
writec2=1;
|
||||
break;
|
||||
case 's':
|
||||
snr = (float)atoi(optarg);
|
||||
// snr = (float)atoi(optarg);
|
||||
snr = atof(optarg);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user