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

RFM69 minor code change #360

Closed
trlafleur opened this issue Jan 19, 2016 · 1 comment
Closed

RFM69 minor code change #360

trlafleur opened this issue Jan 19, 2016 · 1 comment

Comments

@trlafleur
Copy link

In MyConfig.h

Should the #ifdef, be a #ifndev ??

// Enable this if you're running the RFM69HW model

ifdef MY_IS_RFM69HW

#define MY_RFM69HW true

else

#define MY_RFM69HW false

// Set this to true if you're running the RFM69HW model

ifndef MY_IS_RFM69HW

#define MY_RFM69HW false

endif

@henrikekblad
Copy link
Member

In sketch you define MY_IS_RFM69HW

This sets MY_RFM69HW to true which is used here when initializing radio:
https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/core/MyTransportRFM69.cpp#L25

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