mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
avrdude integration basics (WIP)
This commit is contained in:
parent
1caeab913b
commit
11a00b025f
9 changed files with 323 additions and 159 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "GUI.hpp"
|
||||
#include "WipeTowerDialog.hpp"
|
||||
|
||||
#include <iostream> // XXX
|
||||
#include <assert.h>
|
||||
#include <cmath>
|
||||
|
||||
|
@ -59,6 +60,8 @@
|
|||
#include "../Utils/PresetUpdater.hpp"
|
||||
#include "../Config/Snapshot.hpp"
|
||||
|
||||
#include "avrdude/avrdude-slic3r.hpp" // XXX: TMP!
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
#if __APPLE__
|
||||
|
@ -251,6 +254,8 @@ void set_app_config(AppConfig *app_config)
|
|||
void set_preset_bundle(PresetBundle *preset_bundle)
|
||||
{
|
||||
g_PresetBundle = preset_bundle;
|
||||
|
||||
AvrDude::main({{ "-h" }}, "/tmp/", std::cerr); // XXX: tmp
|
||||
}
|
||||
|
||||
void set_preset_updater(PresetUpdater *updater)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue