Files
Marlin-Ai3M/buildroot/bin/opt_disable
David Ramiro 6957194af3 Initial commit
Using TMC2208 in standalone mode, I've inverted the stepper direction to match Anycubics pin layout. M110 memory watcher was removed due to redundancy and - ironically - to save memory.
2018-11-16 10:32:01 +01:00

8 lines
175 B
Bash

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