clean marlin 2.0.x-bugfix
This commit is contained in:
19
buildroot/bin/use_example_configs
Executable file
19
buildroot/bin/use_example_configs
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
restore_configs
|
||||
|
||||
if [ -f "config/examples/$@/Configuration.h" ]; then
|
||||
cp "config/examples/$@/Configuration.h" Marlin/
|
||||
fi
|
||||
|
||||
if [ -f "config/examples/$@/Configuration_adv.h" ]; then
|
||||
cp "config/examples/$@/Configuration_adv.h" Marlin/
|
||||
fi
|
||||
|
||||
if [ -f "config/examples/$@/_Bootscreen.h" ]; then
|
||||
cp "config/examples/$@/_Bootscreen.h" Marlin/
|
||||
fi
|
||||
|
||||
if [ -f "config/examples/$@/_Statusscreen.h" ]; then
|
||||
cp "config/examples/$@/_Statusscreen.h" Marlin/
|
||||
fi
|
Reference in New Issue
Block a user