“invalid indirection operand�? error when passing a struct to function in Cosmic compiler and STM8
I am writing a firmware for stm8 with Cosmic compiler and in ST Visual Develop. I am using astruct as the following:typedef enum { lcBlack = 0, lcRed, lcGreen, lcOrange } led_color_t; PUBLIC typedef enum { lppEmpty, lppS...