0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 17:52:57 +00:00
MarlinFirmware/buildroot/bin/restore_configs

12 lines
344 B
Text
Raw Normal View History

#!/usr/bin/env bash
rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip
2022-07-26 19:54:54 +00:00
if [[ $1 == '-d' || $1 == '--default' ]]; then
use_example_configs
else
git checkout Marlin/Configuration.h 2>/dev/null
git checkout Marlin/Configuration_adv.h 2>/dev/null
git checkout Marlin/src/pins/*/pins_*.h 2>/dev/null
2022-07-26 19:54:54 +00:00
fi