Restore tinySA3 compilation

Removed_REF_marker
DiSlord 5 years ago
parent 78f6c3218a
commit 2aed400a47

@ -18,7 +18,7 @@
*/
#include "ch.h"
//#ifdef TINYSA_F303
#ifdef TINYSA_F303
#include "adc_F303.h"
#ifdef TINYSA_F072
#error "Remove comment for #ifdef TINYSA_F303"
@ -27,7 +27,7 @@
#define TINYSA4
#endif
#define TINYSA4_PROTO
//#endif
#endif
#ifdef TINYSA_F072
#ifdef TINYSA_F303

@ -3963,11 +3963,13 @@ static bool sweep(bool break_on_operation)
}
} // end of peak finding
}
#ifdef TINYSA4
if (setting.average == AV_DECONV && setting.frequency_step != 0) {
for (int i = sweep_points - 1 - d_half_width*2; i>0; i--) {
actual_t[i+d_half_width] = actual_t[i];
}
}
#endif
}

Loading…
Cancel
Save

Powered by TurnKey Linux.