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.

opt_enable 290B

1234567891011
  1. #!/usr/bin/env bash
  2. SED=$(which gsed || which sed)
  3. for opt in "$@" ; do
  4. eval "${SED} -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration.h"
  5. done
  6. for opt in "$@" ; do
  7. eval "${SED} -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration_adv.h"
  8. done