CommandStation-EX icon indicating copy to clipboard operation
CommandStation-EX copied to clipboard

Option to disable default expanders

Open peteGSX opened this issue 3 years ago • 0 comments

It would be nice to have a way to disable the default MCP23017 and PCA9685 expanders, without compromising the Conductor user experience of having these available by default.

Something like:

Commented out in config.h:

// #define DISABLE_DEFAULT_EXPANDERS

Or some such, and in IODevice.cpp it's simply a matter of adding this for each one:

#ifndef DISABLE_DEFAULT_EXPANDERS create... #endif

peteGSX avatar Jun 05 '22 12:06 peteGSX