0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 15:39:31 +00:00
MarlinFirmware/buildroot/bin/restore_configs

16 lines
383 B
Text
Raw Normal View History

#!/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