Print host bugfixes / refactoring

This commit is contained in:
Vojtech Kral 2018-08-21 11:10:32 +02:00
parent ee9f7eaef6
commit 0c984c7584
20 changed files with 61 additions and 105 deletions

View file

@ -19,6 +19,8 @@ OctoPrint::OctoPrint(DynamicPrintConfig *config) :
cafile(config->opt_string("printhost_cafile"))
{}
OctoPrint::~OctoPrint() {}
bool OctoPrint::test(wxString &msg) const
{
// Since the request is performed synchronously here,
@ -125,7 +127,7 @@ bool OctoPrint::send_gcode(const std::string &filename) const
return res;
}
bool OctoPrint::have_auto_discovery() const
bool OctoPrint::has_auto_discovery() const
{
return true;
}