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

Error when using with VS code and particle workbench #1

Open
shanevanj opened this issue Jul 30, 2019 · 1 comment
Open

Error when using with VS code and particle workbench #1

shanevanj opened this issue Jul 30, 2019 · 1 comment

Comments

@shanevanj
Copy link

By deafult Intellisense raises and error when trying to #include "TzCfg.h .

I the TzCfg.h file on line 145 there is a declaration using 'uint' that was not recognised - changing this to 'unsigned int and error cleared.
Original:

int getJson(char* hostName, int hostPort, char* hostPath, char*& jsonStr, uint& jsonSize, char* errorMsg, int errMsgSize); // <-- Performs the HTTP processing
Changed:

int getJson(char* hostName, int hostPort, char* hostPath, char*& jsonStr, unsigned int& jsonSize, char* errorMsg, int errMsgSize); // <-- Performs the HTTP processing

I am not familiar with Git/Github enough to do a pull request etc..

@rwpalmer
Copy link
Owner

rwpalmer commented Jul 30, 2019 via email

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

2 participants