Skip to content

Commit 67bb88d

Browse files
committed
Fix unused parameter warning.
1 parent 46c2412 commit 67bb88d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SoftwareSerial.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ bool SoftwareSerial::hasRxGPIOPullUp(int8_t pin) {
7777
#if defined(ESP32)
7878
return !(pin >= 34 && pin <= 39);
7979
#else
80+
(void)pin;
8081
return true;
8182
#endif
8283
}

0 commit comments

Comments
 (0)