Marlin 2.0 for Flying Bear 4S/5
 
 
 
 
 
 

5 lines
136 B

#!/usr/bin/env bash
for opt in "$@" ; do
eval "sed -i 's/\/\/ *\(#define +$opt[^a-zA-Z0-9_]\)/\1/g' Marlin/Configuration_adv.h"
done