Scott Lahteine
6 years ago
committed by
GitHub
13 changed files with 64 additions and 71 deletions
@ -1,15 +1,9 @@ |
|||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||
# |
|
||||
# restore_configs |
|
||||
# |
|
||||
# Restore default configs, delete pins backup and dogm bitmaps |
|
||||
# |
|
||||
|
|
||||
# Restore the (possibly modified) Configurations |
cp Marlin/src/config/default/Configuration*.h Marlin |
||||
[ -d ".test" -a -f ".test/Configuration.h" ] && cp .test/Configuration*.h Marlin/ |
|
||||
|
|
||||
# Restore the original unmodified pins |
[ -f Marlin/src/pins/pins_RAMPS.h.backup ] && cp Marlin/src/pins/pins_RAMPS.h.backup Marlin/src/pins/pins_RAMPS.h |
||||
[ -d ".test/pins" ] && cp -r .test/pins Marlin/src/pins/ |
rm -f Marlin/src/pins/pins_RAMPS.h.backup |
||||
|
|
||||
# Delete DOGM bitmaps |
rm -f Marlin/_Bootscreen.h |
||||
rm -f Marlin/_*screen.h |
rm -f Marlin/_Statusscreen.h |
||||
|
@ -1,3 +1,3 @@ |
|||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||
|
|
||||
cp Marlin/Configuration*.h .test/ |
cp Marlin/Configuration*.h Marlin/src/config/default |
||||
|
Loading…
Reference in new issue