Hello,
A few days ago, I compiled my program to C and for this delay:
Flowcode generated this code:
Now the exact same Flowcode file generates this code:
I haven't made any changes to flowcode (updates, etc). I can't seem to get flowcode to compile the delay as a INT anymore. Any idea what may have happened, or how I can fix it?
Thanks
FCI_DELAYINT is now FCI_DELAYBYTE ?
Moderator: Benj
-
- Posts: 23
- Joined: Sun Aug 10, 2014 6:11 pm
- Has thanked: 7 times
- Been thanked: 3 times
- Contact:
-
- Posts: 23
- Joined: Sun Aug 10, 2014 6:11 pm
- Has thanked: 7 times
- Been thanked: 3 times
- Contact:
Re: FCI_DELAYINT is now FCI_DELAYBYTE ?
I also just noticed that the DELAYINT_US and DELAYINT_MS functions are being considered as "Unreferenced" now, while a few days ago they were not.
New (bad) on the left. Old (good) on the right: I don't understand what is causing this. Please take a look.
Thanks!
New (bad) on the left. Old (good) on the right: I don't understand what is causing this. Please take a look.
Thanks!
-
- Posts: 23
- Joined: Sun Aug 10, 2014 6:11 pm
- Has thanked: 7 times
- Been thanked: 3 times
- Contact:
Re: FCI_DELAYINT is now FCI_DELAYBYTE ?
So I thought I'd try something, and it worked!
I simply double clicked on that 400 ms Delay icon and then clicked OK. Where Flowcode thinks I made a change to it. Saved, recompiled, and the problem went away.
Still don't know what caused this, or why the above action fixed it. But perhaps it makes some sense to you?!
Thank you.
I simply double clicked on that 400 ms Delay icon and then clicked OK. Where Flowcode thinks I made a change to it. Saved, recompiled, and the problem went away.
Still don't know what caused this, or why the above action fixed it. But perhaps it makes some sense to you?!
Thank you.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: FCI_DELAYINT is now FCI_DELAYBYTE ?
Hello,
It looks like when you open the project the delay will resort back to Byte rather than Int. This is potentially a massive issue which I was totally unaware of so thanks for raising it.
It's now in our bug tracker marked as urgent as this could potentially throw off a lot of people.
It looks like when you open the project the delay will resort back to Byte rather than Int. This is potentially a massive issue which I was totally unaware of so thanks for raising it.
It's now in our bug tracker marked as urgent as this could potentially throw off a lot of people.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel