+ add FlashAir support for host upload

This commit is contained in:
Stephan Reichhelm 2019-05-07 19:51:14 +02:00 committed by Vojtěch Bubník
parent 2399570950
commit 3321ae7f13
6 changed files with 272 additions and 1 deletions

View file

@ -14,6 +14,7 @@
#include "libslic3r/Channel.hpp"
#include "OctoPrint.hpp"
#include "Duet.hpp"
#include "FlashAir.hpp"
#include "../GUI/PrintHostDialogs.hpp"
namespace fs = boost::filesystem;
@ -43,6 +44,7 @@ PrintHost* PrintHost::get_print_host(DynamicPrintConfig *config)
switch (host_type) {
case htOctoPrint: return new OctoPrint(config);
case htDuet: return new Duet(config);
case htFlashAir: return new FlashAir(config);
default: return nullptr;
}
} else {