errors:"is not a 'struct' element of 'struct' reference/not enough parameters

We are using a code from someone who came in to help us. It worked fine but then later we got this error and we have tried multiple things to try and fix it but nothing has worked so far. Wondering if anyone had an idea to fix this.





It seems your code was using some library before and you lost reference to that library.
Any removed includes?

If the code ever worked, there must have been some nontrivial set up of structure types, something like


typedef struct {
    ...]
    struct m_config {
        ...]
        bool m_bGyroFlipped;
    }
    ...]
} gyro_t;

gyro_t driveGyro;