2016-03-22 15:13:38 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-12-14 07:22:06 +01:00
|
|
|
rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip
|
2022-07-26 21:54:54 +02: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/ramps/pins_RAMPS.h 2>/dev/null
|
|
|
|
fi
|