Skip to content

Commit c0039f1

Browse files
authored
Fix toggle button pin assignment (#11)
1 parent 2498d26 commit c0039f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FastLEDHub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void FastLEDHubClass::enableToggleButton(uint8_t pin)
5353
{
5454
m_inputTicker.attach_ms(FASTLEDHUB_INPUT_TICKER_INTERVAL, +[](FastLEDHubClass* t) { t->handleInput(); }, this);
5555
pinMode(pin, INPUT);
56-
m_cycleButtonPin = pin;
56+
m_toggleButtonPin = pin;
5757
}
5858

5959
void FastLEDHubClass::enablePotentiometer(uint8_t pin)

0 commit comments

Comments
 (0)