mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
avrdude integration basics (WIP)
This commit is contained in:
1 parent
1caeab913b
commit
11a00b025f
9 files changed
+323
-159
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user