We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789e22a commit ffd2cecCopy full SHA for ffd2cec
libraries/Ethernet/utility/w5100.h
@@ -324,6 +324,10 @@ class W5100Class {
324
inline static void initSS() { DDRB |= _BV(4); };
325
inline static void setSS() { PORTB &= ~_BV(4); };
326
inline static void resetSS() { PORTB |= _BV(4); };
327
+#elif defined(__AVR_ATmega32U4__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB162__)
328
+ inline static void initSS() { DDRB |= _BV(0); };
329
+ inline static void setSS() { PORTB &= ~_BV(0); };
330
+ inline static void resetSS() { PORTB |= _BV(0); };
331
#else
332
inline static void initSS() { DDRB |= _BV(2); };
333
inline static void setSS() { PORTB &= ~_BV(2); };
0 commit comments