My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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