Makeblock-official/Makeblock-Libraries

MeMCore.h - multiple definitions of 'mePort'

FlorianEpple opened this issue · 0 comments

redefinition errors when multiple including MeMCore.h.
That is because of the MePort_Sig mePort[];
Solution: define the mePort as an extern and initialise in a file MeMCore.cpp.