Marlin 2.0 for Flying Bear 4S/5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
383 B

#!/usr/bin/env bash
#
# restore_configs
#
# Restore default configs, delete pins backup and dogm bitmaps
#
# Restore the (possibly modified) Configurations
[ -d ".test" -a -f ".test/Configuration.h" ] && cp .test/Configuration*.h Marlin/
# Restore the original unmodified pins
[ -d ".test/pins" ] && cp -r .test/pins Marlin/src/pins/
# Delete DOGM bitmaps
rm -f Marlin/_*screen.h