Skip to content

Commit ef1cebc

Browse files
committed
Update test.ino
1 parent 95c89c5 commit ef1cebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test/test.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void handleDocument(fb::Update& u) {
267267
// между downloadFile и updateFlash/updateFS/writeTo не должно быть отправки сообщений!
268268
// OTA обновление тип 1
269269
bot.updateFlash(u.message().document(), u.message().chat().id());
270-
270+
271271
// OTA обновление тип 2
272272
// fb::Fetcher fetch = bot.downloadFile(u.message().document().id());
273273
// if (fetch) {
@@ -278,7 +278,7 @@ void handleDocument(fb::Update& u) {
278278
// Serial.println("OTA error");
279279
// bot.sendMessage(fb::Message("OTA error", u.message().chat().id()), true);
280280
// }
281-
}
281+
// }
282282
} else {
283283
// это просто файл, выведем содержимое
284284
fb::Fetcher fetch = bot.downloadFile(u.message().document().id());

0 commit comments

Comments
 (0)