Permalink
Browse files

example updates to use mode from credentials not force WEP

  • Loading branch information...
1 parent 66254e3 commit e698d3857487092f391901c8d9ab71bdc2acc9a9 @dpslwk dpslwk committed with Mar 14, 2012
@@ -45,7 +45,7 @@ void setup() {
Serial.println("Wifly join");
// Join the WiFi network
- if (!WiFly.join(ssid, passphrase, WEP_MODE)) {
+ if (!WiFly.join(ssid, passphrase, mode)) {
Serial.println("Association failed.");
while (1) {
// Hang on failure.
@@ -45,7 +45,7 @@ void setup() {
mySerial.println("Wifly join");
// Join the WiFi network
- if (!WiFly.join(ssid, passphrase, WEP_MODE)) {
+ if (!WiFly.join(ssid, passphrase, mode)) {
mySerial.println("Association failed.");
while (1) {
// Hang on failure.

0 comments on commit e698d38

Please sign in to comment.