Make opt_set, opt_set_adv, pins_set also enable

This commit is contained in:
Scott Lahteine 2018-09-29 18:12:03 -05:00
parent d89d8fe852
commit 71d06ef1b2
4 changed files with 4 additions and 4 deletions

View file

@ -2,4 +2,4 @@
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration.h"
eval "${SED} -E -i 's/(\/\/)?(#define \b${1}\b).*$/\2 ${2}/g' Marlin/Configuration.h"

View file

@ -2,4 +2,4 @@
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration_adv.h"
eval "${SED} -E -i 's/(\/\/)?(#define \b${1}\b).*$/\2 ${2}/g' Marlin/Configuration_adv.h"

View file

@ -2,4 +2,4 @@
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${2}\b\).*$/\1 ${3}/g' Marlin/src/pins/pins_${1}.h"
eval "${SED} -E -i 's/(\/\/)?(#define \b${2}\b).*$/\2 ${3}/g' Marlin/src/pins/pins_${1}.h"

View file

@ -90,7 +90,7 @@ opt_enable ULTIMAKERCONTROLLER SDSUPPORT
opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632
opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
opt_enable_adv ADVANCED_PAUSE_FEATURE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE LCD_INFO_MENU M114_DETAIL
opt_set_adv PWM_MOTOR_CURRENT {1300,1300,1250}
opt_set_adv PWM_MOTOR_CURRENT "{ 1300, 1300, 1250 }"
opt_set_adv I2C_SLAVE_ADDRESS 63
exec_test $1 $2 "MINIRAMBO for PWM_MOTOR_CURRENT etc"
#