Page 1 of 1

software reset command not compiling

Posted: Mon Nov 28, 2016 7:19 am
by jollybv
Hi Guys

One quick question i have a C component with "reset ();" in it but this stops compiling when it get there. If i take this component out it finishes compiling has this command changed in V7 or is this a bug. :?:

Re: software reset command not compiling

Posted: Mon Nov 28, 2016 9:36 am
by medelec35
Hi Brian,
Can you try a C code block with

Code: Select all

asm("reset");
Martin

Re: software reset command not compiling

Posted: Mon Nov 28, 2016 12:14 pm
by Benj
I believe this should also work in a C icon.

Code: Select all

RESET();

Re: software reset command not compiling

Posted: Mon Nov 28, 2016 12:23 pm
by jollybv
Thanks Guys

I used the RESET(); in capitals and now works fine