Merge pull request #114 from hazcoper/fix-mul_defined_embeddedbins

Fix bug(?) if dft.c
This commit is contained in:
CNLohr 2020-11-29 21:24:12 -08:00 committed by GitHub
commit d94c3eac94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -420,9 +420,12 @@ uint16_t Sdatspace[FIXBINS*4]; //(advances,places,isses,icses)
static uint8_t Sdo_this_octave[BINCYCLE];
static int16_t Saccum_octavebins[OCTAVES];
static uint8_t Swhichoctaveplace;
#ifndef INCLUDING_EMBEDDED
uint16_t embeddedbins[FIXBINS]; //This is updated every time the DFT hits the octavecount, or 1/32 updates.
#endif
//multiple definition of `embeddedbins'; dft.o (symbol from plugin):(.text+0x0): first defined here
//Had this issue when trying to build, commenting this lines out made the build successful
//#ifndef INCLUDING_EMBEDDED
//uint16_t embeddedbins[FIXBINS]; //This is updated every time the DFT hits the octavecount, or 1/32 updates.
//#endif
//From: http://stackoverflow.com/questions/1100090/looking-for-an-efficient-integer-square-root-algorithm-for-arm-thumb2
/**