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

topic1 and topic2 names issues in ShadeMCU_Double_CONFIGURE.ino #3

Open
pat1300 opened this issue Nov 5, 2019 · 0 comments
Open

topic1 and topic2 names issues in ShadeMCU_Double_CONFIGURE.ino #3

pat1300 opened this issue Nov 5, 2019 · 0 comments

Comments

@pat1300
Copy link

pat1300 commented Nov 5, 2019

Hi,
Could you have a look at your code in ShadeMCU_Double_CONFIGURE.ino , around lines 85-88 :
strcat(topic1, mqtt_client_id); strcpy(topic1, "/shadePositionL"); strcat(topic2, mqtt_client_id); strcpy(topic2, "/shadePositionR");

I think there are inversions between strcpy and strcat. [ first use strcpy, then strcat]
Best regards,
Patrick - Belgium

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

No branches or pull requests

1 participant