Skip to content

follow-up(#5167): SAMD getPinMapping rejects valid variant pins at or above PINS_COUNT #5185

Closed

Description

@zackees

Unaddressed CodeRabbit review finding(s) from #5167, checked against current master.

1. src/platforms/arm/samd/pin_samd_native.hpp:68

getPinMapping() rejects pin >= PINS_COUNT. On the SparkFun SAMD21 Dev board, PIN_LED_TXL is 26 and PINS_COUNT is also 26, but g_APinDescription[26] (PA27) is a valid entry. fl::pinMode/fl::digitalWrite on that pin silently do nothing.

Missed CodeRabbit review: merged before the review was read (clud pr_merge_watch bug, fixed in talos-hq/clud#2719).

Activity

  1. added
    coderabbit-followup
    on Nov 8, 2026
  2. added
    sanitized
    on Nov 8, 2026
  3. moved this from Triage to Done in FastLED Trackeron Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coderabbit-followupsanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions