mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
avrdude integration basics (WIP)
This commit is contained in:
@@ -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