Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/leds: Make initialization conditional on presence, not pin
The LEDx_PIN may still be defined (eg. on the particle-mesh family because it is used to configure the PWM pins); the IS_PRESENT macro performs the stricter check ov testing for an _ON function.
- Loading branch information