MCPcopy Create free account
hub / github.com/FastLED/FastLED / pinMap

Function pinMap

src/fl/system/pins.cpp.hpp:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393// ============================================================================
394
395void pinMap(fl::span<PinInfo> pins) {
396 for (fl::size i = 0; i < pins.size(); ++i) {
397 if (pins[i].pin >= 0) {
398 pins[i].port = pinToPort(pins[i].pin);
399 }
400 }
401}
402
403} // namespace fl

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 2

pinToPortFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected