restore_configs 352 B

1234567891011
  1. #!/usr/bin/env bash
  2. rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip
  3. if [[ $1 == '-d' || $1 == '--default' ]]; then
  4. use_example_configs
  5. else
  6. git checkout Marlin/Configuration.h 2>/dev/null
  7. git checkout Marlin/Configuration_adv.h 2>/dev/null
  8. git checkout Marlin/src/pins/ramps/pins_RAMPS.h 2>/dev/null
  9. fi