This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/buildroot/bin/restore_configs

12 lines
272 B
Text
Raw Normal View History

#!/usr/bin/env bash
cp config/default/Configuration*.h Marlin
2019-07-11 09:32:24 +02:00
PINS="Marlin/src/pins"
RAMPS="$PINS/ramps/pins_RAMPS.h"
BKUP="$PINS/ramps/pins_RAMPS.backup.h"
[ -f $BKUP ] && { cp "$BKUP" "$RAMPS" ; rm -f $BKUP ; }
rm -f Marlin/_Bootscreen.h
rm -f Marlin/_Statusscreen.h