TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
207 stars 96 forks source link

Made freqPlan a define #161

Closed n2jn closed 7 years ago

n2jn commented 7 years ago

155

n2jn commented 7 years ago

@FokkeZB To pass the checks should I do this:

  - find $PWD/examples -type f -name "*.ino" -exec sed -i 's/\(define freqPlan \)/\1TTN_FP_EU868;/g' {} +

instead of:

  - find $PWD/examples -type f -name "*.ino" -exec sed -i 's/\(freqPlan = \)/\1TTN_FP_EU868;/g' {} +                   

?

FokkeZB commented 7 years ago

Simply replace REPLACE_ME :)

  - find $PWD/examples -type f -name "*.ino" -exec sed -i 's/REPLACE_ME/TTN_FP_EU868/g' {} +