mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
avrdude: Fix: Generate the embedded conf in the bin dir, remove from repo
The generated file avrdude-slic3r.conf.h is not kept in repo any longer - it was causing trouble for git diffing. It's now generated in $CMAKE_CURRENT_BINARY_DIR and included from there. The file embeds avrdude-slic3r.conf so that the conf doesn't need to be loaded from disk.
This commit is contained in:
@@ -21,7 +21,7 @@ int main(int argc, char const *argv[])
|
||||
std::cerr << "Cannot read file: " << filename_in << std::endl;
|
||||
}
|
||||
|
||||
std::fstream output(filename_out, std::ios::out | std::ios::trunc | std::ios::binary);
|
||||
std::fstream output(filename_out, std::ios::out | std::ios::trunc);
|
||||
if (!output.good()) {
|
||||
std::cerr << "Cannot open output file: " << filename_out << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user