Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put back the initial value after removing the location #2

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

umrysh
Copy link
Contributor

@umrysh umrysh commented Jul 17, 2019

Thank you for a great piece of software!

I was having issues previewing my program in the editor when I tried setting initial values for a few registers. Reviewing the files it appears that the function RemoveLocatedVariables was not handling the initial values properly when it adjusted the PLC file.

I'm not sure if this is the best solution but by adding these two lines I was able to run my program with no issue.

Thanks again!

@thiagoralves
Copy link
Owner

Thanks! Your solution fixed the problem. I'm merging it into the main repository

@thiagoralves thiagoralves merged commit 0d73894 into thiagoralves:master Jul 31, 2019
thiagoralves added a commit that referenced this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants