Skip to content

Add init() to run once, fixes #114 #116

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

Merged
merged 5 commits into from
Oct 27, 2016
Merged

Add init() to run once, fixes #114 #116

merged 5 commits into from
Oct 27, 2016

Conversation

FokkeZB
Copy link
Contributor

@FokkeZB FokkeZB commented Oct 26, 2016

Doing this in the constructor (which runs before setup()) didn't work. I can't connect to the Node anymore to do uploads or use Serial Monitor.

@FokkeZB
Copy link
Contributor Author

FokkeZB commented Oct 26, 2016

Travis has some issues:

@FokkeZB FokkeZB merged commit 398016e into master Oct 27, 2016
@FokkeZB FokkeZB deleted the fix/114 branch October 27, 2016 08:39
@@ -419,7 +419,7 @@ void TheThingsNetwork::configureUS915(uint8_t sf, uint8_t fsb) {
str = "";
str.concat(F("mac set ch status "));
str.concat(ch);
if (ch == ch500 || ch <= chHigh && ch >= chLow) {
if (ch == ch500 || (ch <= chHigh && ch >= chLow)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

&& > ||, keep old line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It produces warnings on the CI and I agree with the CI that this is more clear

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