ec icon indicating copy to clipboard operation
ec copied to clipboard

Conditionally compile USB-PD support

Open crawfxrd opened this issue 1 year ago • 0 comments

Boards may not have USB-PD. Remove the need for a "none" option by only adding USB-PD sources when enabled.

The resulting binary for boards with USB-PD enabled (addw3, bonw15, serw13) are identical. The binary for boards without USB-PD now have the empty calls optimized out.

crawfxrd avatar Jan 18 '24 17:01 crawfxrd