Skip to content

Commit c0c735d

Browse files
committed
streams-http_post.ino correct source
1 parent 66a579d commit c0c735d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/examples-communication/http-client/streams-http_post/streams-http_post.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ GeneratedSoundStream<int16_t> sound(sineWave);
1818
TimedStream timed(sound);
1919
WiFiClient client;
2020
HttpRequest http(client);
21-
StreamCopy copier(http, sound); // copy kit to kit
21+
StreamCopy copier(http, timed);
2222

2323
void startWiFi() {
2424
WiFi.mode(WIFI_STA);
@@ -43,7 +43,7 @@ void setup(void) {
4343
// Setup sine wave
4444
sineWave.begin(info, N_B4);
4545

46-
// limit the size of the input stream
46+
// limit the size of the input stream to 60 seconds
4747
timed.setEndSec(60);
4848
timed.begin();
4949

0 commit comments

Comments
 (0)