0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-06 01:34:39 +00:00
MarlinFirmware/buildroot/bin/restore_configs
2022-07-27 22:08:38 -05:00

11 lines
352 B
Bash
Executable file

#!/usr/bin/env bash
rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip
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/ramps/pins_RAMPS.h 2>/dev/null
fi