Merge pull request #11692 from thinkyhead/bf2_teensy_and_servos
[2.0.x] Don't test servos for Teensy 3.5/3.62.0.x
commit
92069f1422
@ -1,17 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# restore_configs
|
||||
#
|
||||
# Restore default configs, delete pins backup and dogm bitmaps
|
||||
#
|
||||
|
||||
cp Marlin/src/config/default/Configuration.h Marlin/Configuration.h
|
||||
cp Marlin/src/config/default/Configuration_adv.h Marlin/Configuration_adv.h
|
||||
# Restore the (possibly modified) Configurations
|
||||
[ -d ".test" -a -f ".test/Configuration.h" ] && cp .test/Configuration*.h Marlin/
|
||||
|
||||
if [ -f Marlin/src/pins/pins_RAMPS.h.backup ]; then
|
||||
cp Marlin/src/pins/pins_RAMPS.h.backup Marlin/src/pins/pins_RAMPS.h
|
||||
rm Marlin/src/pins/pins_RAMPS.h.backup
|
||||
fi
|
||||
# Restore the original unmodified pins
|
||||
[ -d ".test/pins" ] && cp -r .test/pins Marlin/src/pins/
|
||||
|
||||
if [ -f Marlin/_Bootscreen.h ]; then
|
||||
rm Marlin/_Bootscreen.h
|
||||
fi
|
||||
|
||||
if [ -f Marlin/_Statusscreen.h ]; then
|
||||
rm Marlin/_Statusscreen.h
|
||||
fi
|
||||
# Delete DOGM bitmaps
|
||||
rm -f Marlin/_*screen.h
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
||||
cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
||||
cp Marlin/Configuration*.h .test/
|
||||
|
Loading…
Reference in New Issue