Skip to content

Added a warning about incorrect flags being used #1425

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions MyConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,16 @@
#define MY_RF24_CHANNEL (76)
#endif

// legacy - remove for 3.0.0
/**
* @def RF24_DATARATE
* @brief Define this to specify a specific wireless data rate used by the RF24
* @deprecated This flag is deprecated and replaced by @ref MY_RF24_DATARATE
*/
#ifdef RF24_DATARATE
#error RF24_DATARATE is deprecated, use MY_RF24_DATARATE instead!
#endif

/**
* @def MY_RF24_DATARATE
* @brief RF24 data rate.
Expand Down