View Single Post
Old 10-06-2015, 04:17 PM   #2139 (permalink)
danibjor
EcoModding Lurker
 
Join Date: Sep 2015
Location: Norway
Posts: 11
Thanks: 10
Thanked 12 Times in 7 Posts
Could be a good idea to break things up to make it easier to maintain.

Helper functions and such in apropriate files. Main in one and motor type spesific code in as many as it supports. Just include the correct header file for your motor type, and you are all set to go if you want to compile your own code.
  Reply With Quote
The Following User Says Thank You to danibjor For This Useful Post:
e*clipse (10-06-2015)