We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60d19a0 commit 53aa423Copy full SHA for 53aa423
hardware/arduino/avr/libraries/Bridge/YunServer.h
@@ -28,7 +28,7 @@ class YunClient;
28
class YunServer : public Server {
29
public:
30
// Constructor with a user provided BridgeClass instance
31
- YunServer(uint16_t port, BridgeClass &_b = Bridge);
+ YunServer(uint16_t port = 5555, BridgeClass &_b = Bridge);
32
33
void begin();
34
YunClient accept();
hardware/arduino/avr/libraries/Bridge/examples/BridgeNew/BridgeNew.ino
@@ -11,9 +11,9 @@
11
#include <Bridge.h>
12
#include <YunServer.h>
13
14
-// Listen on port 5555, the webserver on the Yun
+// Listen on default port 5555, the webserver on the Yun
15
// will forward there all the HTTP requests for us.
16
-YunServer server(5555);
+YunServer server;
17
18
void setup() {
19
Serial.begin(9600);
0 commit comments