Skip to content

Commit d52a254

Browse files
committed
Remove compiler warning message
1 parent b3e71a6 commit d52a254

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Servo_Hardware_PWM.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@
6767

6868
#include <inttypes.h>
6969

70-
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
71-
#warning "INFO: Servos can only be connected to the following pins: 2, 3, 7, 8, 44, and 45"
72-
#else
70+
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
7371
#error "ERROR: This library only supports boards with an ATmega1280 or ATmega2560 processor. (Arduino/Genuino Mega/Mega1280/Mega2560)"
7472
#endif
7573

0 commit comments

Comments
 (0)