I encountered a wierd runtime error after compiling and running the following statement:
FuncCall(unsigned char casenum) { switch (casenum) { case 0x00: return 0x0100; default: return 0x1000; } }
U16 GetReturn; GetReturn = FuncCall(x);
FuncCall(unsigned char casenum) { switch (casenum) { case 0x00: return (0x0100); default: return (0x1000); } }