HI,
When I get a string from the Device Layer, I get the following errors:
../GeneratedCode/Application.c:144:18: warning: implicit declaration of function ‘DeviceDriver_GetRecipeName’ [-Wimplicit-function-declaration]
recipeName = DeviceDriver_GetRecipeName();
^~~~~~~~~~~~~~~~~~~~~~~~~~
../GeneratedCode/Application.c:144:16: warning: assignment to ‘XString’ {aka ‘short unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
recipeName = DeviceDriver_GetRecipeName();
How do I declare DeviceDriver_GetRecipeName as it is a native call and how do I fix the XString warning?
Thanks
Phil