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

Moved defines to the beginning of the file #67

Open
wants to merge 1 commit into
base: DEV
Choose a base branch
from

Conversation

Dakkaron
Copy link

This way, users don't have to go through the whole file in search of #defines if they don't use the default config.

See also https://discourse.voss.earth/t/alle-defines-an-einen-ort-schieben/6121/6


static const uint32_t cardCookie = 322417479;

// DFPlayer Mini
SoftwareSerial mySoftwareSerial(2, 3); // RX, TX
SoftwareSerial mySoftwareSerial(DFPLAYER_RX, DFPLAYER_RX); // RX, TX
Copy link

Choose a reason for hiding this comment

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

Suggested change
SoftwareSerial mySoftwareSerial(DFPLAYER_RX, DFPLAYER_RX); // RX, TX
SoftwareSerial mySoftwareSerial(DFPLAYER_RX, DFPLAYER_TX); // RX, TX

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