OpenMYR / IoT_Motors

OpenMYR IoT Motors for ESP8266
MIT License
14 stars 5 forks source link

Quad Servo and Stepper should use the same op_queue source code #42

Closed brandonbrown2 closed 8 years ago

brandonbrown2 commented 8 years ago

The only difference between op_queue and quad_op_queue is the integer value of one preprocessor define. This can be accomplished by feeding the right command line value in at compile time (using the -D flag) without having multiples of the same source file.