File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
hardware/arduino/avr/libraries/Bridge Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class YunClient;
2828class YunServer : public Server {
2929public:
3030 // Constructor with a user provided BridgeClass instance
31- YunServer (uint16_t port, BridgeClass &_b = Bridge);
31+ YunServer (uint16_t port = 5555 , BridgeClass &_b = Bridge);
3232
3333 void begin ();
3434 YunClient accept ();
Original file line number Diff line number Diff line change 1111#include < Bridge.h>
1212#include < YunServer.h>
1313
14- // Listen on port 5555, the webserver on the Yun
14+ // Listen on default port 5555, the webserver on the Yun
1515// will forward there all the HTTP requests for us.
16- YunServer server ( 5555 ) ;
16+ YunServer server;
1717
1818void setup () {
1919 Serial.begin (9600 );
You can’t perform that action at this time.
0 commit comments