My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

restore_configs 433B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. RESTORE="https://raw.githubusercontent.com/MarlinFirmware/Configurations/master/config/default"
  3. cd Marlin
  4. rm -f Conf*.h _*screen.h
  5. PINS="src/pins"
  6. RAMPS="$PINS/ramps/pins_RAMPS.h"
  7. BKUP="$PINS/ramps/pins_RAMPS.backup.h"
  8. [ -f $BKUP ] && { cp "$BKUP" "$RAMPS" ; rm -f $BKUP ; }
  9. wget -q "$RESTORE/Configuration.h" -O Configuration.h
  10. wget -q "$RESTORE/Configuration_adv.h" -O Configuration_adv.h
  11. cd - >/dev/null