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) {
267
267
// между downloadFile и updateFlash/updateFS/writeTo не должно быть отправки сообщений!
268
268
// OTA обновление тип 1
269
269
bot.updateFlash (u.message ().document (), u.message ().chat ().id ());
270
-
270
+
271
271
// OTA обновление тип 2
272
272
// fb::Fetcher fetch = bot.downloadFile(u.message().document().id());
273
273
// if (fetch) {
@@ -278,7 +278,7 @@ void handleDocument(fb::Update& u) {
278
278
// Serial.println("OTA error");
279
279
// bot.sendMessage(fb::Message("OTA error", u.message().chat().id()), true);
280
280
// }
281
- }
281
+ // }
282
282
} else {
283
283
// это просто файл, выведем содержимое
284
284
fb::Fetcher fetch = bot.downloadFile (u.message ().document ().id ());
You can’t perform that action at this time.
0 commit comments