File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments