removed changing number of samples by setting dynamic range

This commit is contained in:
Dhanya Maliakal
2017-09-21 16:36:33 +02:00
parent 6eb5167c70
commit 2b3d2bb4d7
4 changed files with 8 additions and 10 deletions

View File

@ -2309,8 +2309,6 @@ u_int32_t* decode_data(int *datain)
int setDynamicRange(int dr) {
if (dr%16==0 && dr>0) {
dynamicRange=16;
nSamples=dr/16;
bus_w(NSAMPLES_REG,nSamples);
}
getDynamicRange();
allocateRAM();