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

Fix variable names in WireProtocol_Receiver.c #20

Closed
nfbot opened this issue Aug 30, 2017 · 0 comments
Closed

Fix variable names in WireProtocol_Receiver.c #20

nfbot opened this issue Aug 30, 2017 · 0 comments

Comments

@nfbot
Copy link
Member

nfbot commented Aug 30, 2017

From nf-interpreter created by cw2 : nanoframework/nf-interpreter#59

uint8_t m_receptionBuffer[256]; // was 2048
uint32_t m_lastPacketSequence;
uint8_t* m_szMarker;
WP_Message m_inboundMessage;
uint16_t m_lastOutboundMessage;

m_ prefix is used for members, static variables should have s_ (file scope) or g_ (global). Alternatively, don't use any prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant