however I keep getting this error every time I try to build the project:
Description Resource Path Location Type
unknown type name 'MemoryPool' main.c /Proyecto_Micro line 17 C/C++ Problem
this is the section of my code where the error is popping up:
Code: Select all
typedef struct {
adcsample_t Sample[ADC_NUM_CHAN*ADC_BUFFER_DEPTH];
} ADC_Conversion;
MemoryPool Conv_pool;
ADC_Conversion Conv_Sample[MB_BUFFER_SIZE];
I know from reading other forums that I am supposed to align my structure to the stack, however that too was giving me an error...
I am clueless on how to do this properly, could someone pls help me figure this out.