Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi, I just want to use chained list in my program, but it has error:
"Invalid redeclaration of type name "MYPOINTLIST" (declared at line 24) (E256)" in file "/SSnake.h"
My struct:
#define uchar unsigned char
typedef struct
{
uchar x;
uchar y;
struct MYPOINTLIST *next;
}MYPOINTLIST;
Can use chained list in mbed?